Sends a transactional email message, based on a saved email template, to a single email recipient, and includes full tracking and DomainKeys/DKIM signing capabilities. Returns a string.

Namespace:  JangoMailNamespace
Assembly:  Jangomail.API (in Jangomail.API.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
public string SendTransactionalEmailFromTemplate(
	string Username,
	string Password,
	int CampaignID,
	string ToEmailAddress,
	string PersonalizationFields,
	string PersonalizationValues,
	string PersonalizationColDelimiter,
	string Options
)
Visual Basic (Declaration)
Public Function SendTransactionalEmailFromTemplate ( _
	Username As String, _
	Password As String, _
	CampaignID As Integer, _
	ToEmailAddress As String, _
	PersonalizationFields As String, _
	PersonalizationValues As String, _
	PersonalizationColDelimiter As String, _
	Options As String _
) As String
Visual C++
public:
String^ SendTransactionalEmailFromTemplate(
	String^ Username, 
	String^ Password, 
	int CampaignID, 
	String^ ToEmailAddress, 
	String^ PersonalizationFields, 
	String^ PersonalizationValues, 
	String^ PersonalizationColDelimiter, 
	String^ Options
)

Parameters

Username
Type: System..::.String
JangoMail Username
Password
Type: System..::.String
JangoMail Password
CampaignID
Type: System..::.Int32
Campaign ID to use for template values
ToEmailAddress
Type: System..::.String
Single email for which to send transactional email message
PersonalizationFields
Type: System..::.String
PersonalizationValues
Type: System..::.String
PersonalizationColDelimiter
Type: System..::.String
Options
Type: System..::.String
Options string to set additional options. Must be comma separated string of option=value pairs with these options: TransactionalGroupID, ReplyTo, CC, BCC, CharacterSet, Encoding, Priority, UseSystemMAILFROM, Receipt, Wrapping, ClickTrack, OpenTrack, NoClickTrackText, Attachment1, Attachment2, Attachment3, Attachment4, Attachment5, SkipUnsubCheck. For example, an acceptable value for this parameter would be "OpenTrack=True,ClickTrack=True,ReplyTo=john@hotmail.com". TransactionalGroupID, if specified, must be the ID number assigned to a Transactional Group that has been created under My Options of the JangoMail account. UseSystemMAILFROM can be "True" or "False". ReplyTo must be a valid e-mail address. CC must be a valid e-mail address. BCC must be a valid e-mail address. Encoding must be "7 bit", "Base 64", or "Quoted Printable". CharacterSet must be one of the official JangoMail character sets. Receipt must be "True" or "False". Priority must be "Low", "Medium", or "High". Wrapping must be an integer >= 0. ClickTrack must be "True" or "False". OpenTrack must be "True" or "False". NoClickTrackText must be "True" or "False". Attachment1 through 5 must be valid file names that have already been uploaded to your account. SkipUnsubCheck, which defaults to "False", can be set to "True" to avoid checking recipients against your unsubscribe list.

Return Value

If successful, returns string "0[newline]SUCCESS[newline]" followed by the numeric transactional email ID

See Also