EMFileInfoAddCampaignFile Method

Alterian Email Manager 6.2.3 SDK Help File
Method to add one file to a specific Campaign.

Namespace:  DMLibrary
Assembly:  DMLibrary (in DMLibrary.dll) Version: 1.0.6340.17420

Syntax
public static void AddCampaignFile(
	DMToken userToken,
	int CampaignId,
	string FileName,
	byte[] Data,
	bool Decompress,
	string alertFile
)

Parameters

userToken
Type: DMToken
EM authentication token.
CampaignId
Type: SystemInt32
Campaign Id
FileName
Type: SystemString
File Name
Data
Type: SystemByte
The file, transformed into a byte array.
Decompress
Type: SystemBoolean
A boolean indicating whether to decompress the file if it is a zip file. If the file is not a zip file, it will do nothing.
alertFile
Type: SystemString
Path of the alert file
See Also