SmtpMessage

Implements SmtpMessage compositor. Allows to get string representation of message and also send it via SmtpClient.

SmtpMessage is used by SmtpClient.send high-level method in order to compose and send mail via SMTP.

Members

Functions

attach
void attach(SmtpAttachment[] a)

Add attachments to the SmtpMessage.

toString
string toString()

This method converts SmtpMessage struct to string representation.

Static variables

boundary
string boundary;
Undocumented in source.

Variables

attachments
SmtpAttachment[] attachments;
Undocumented in source.
message
string message;
Undocumented in source.
recipients
Recipient[] recipients;
Undocumented in source.
replyTo
string replyTo;
Undocumented in source.
sender
Recipient sender;
Undocumented in source.
subject
string subject;
Undocumented in source.

Meta