Sends a transactional email message 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 SendTransactionalEmail(
	string Username,
	string Password,
	string FromEmail,
	string FromName,
	string ToEmailAddress,
	string Subject,
	string MessagePlain,
	string MessageHTML,
	string Options
)
Visual Basic (Declaration)
Public Function SendTransactionalEmail ( _
	Username As String, _
	Password As String, _
	FromEmail As String, _
	FromName As String, _
	ToEmailAddress As String, _
	Subject As String, _
	MessagePlain As String, _
	MessageHTML As String, _
	Options As String _
) As String
Visual C++
public:
String^ SendTransactionalEmail(
	String^ Username, 
	String^ Password, 
	String^ FromEmail, 
	String^ FromName, 
	String^ ToEmailAddress, 
	String^ Subject, 
	String^ MessagePlain, 
	String^ MessageHTML, 
	String^ Options
)

Parameters

Username
Type: System..::.String
JangoMail Username
Password
Type: System..::.String
JangoMail Password
FromEmail
Type: System..::.String
From E-mail Address
FromName
Type: System..::.String
From Display Name
ToEmailAddress
Type: System..::.String
Single email for which to send transactional email message
Subject
Type: System..::.String
Subject
MessagePlain
Type: System..::.String
Plain text version of e-mail
MessageHTML
Type: System..::.String
HTML version of e-mail
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