Public Instance Constructors
MailMerge Constructor | Initializes a new instance of the MailMerge class. |
Public Instance Properties
BatchInterval | Gets or sets the duration between each batch operation in milliseconds. |
BatchSize | Gets or sets the number of emails to send in each batch. |
BccAddressTemplate | Gets or sets the blind carbon-copy email address column in the DataSource such as [*bccAddress*]. |
BodyTemplate | Gets or sets the email subject template that may contain column names from the DataSource such as Dear [*firstName*] [*lastName*], Thank you for your order. |
CcAddressTemplate | Gets or sets the carbon-copy email address column in the DataSource such as [*ccAddress*]. |
DataMember | Gets or sets the DataTable used for binding when a DataSet is used as the DataSource. |
DataSource | Gets or sets the data source that contains the email delivery and content information. |
FieldPrefix | Gets or sets the prefix at the head of each column name used as a merge field. Default value is [* |
FieldSuffix | Gets or sets the suffix at the end of each column name used as a merge field. Default value is *] |
FromAddressTemplate | Gets or sets the email address of the sender. |
FromDisplayNameTemplate | Gets or sets the name of the sender displayed on the recipient email tool. |
Host | Gets or sets the name or IP address of the SMTP server. |
IsBodyHtml | Gets or sets a value to indicate whether mail message body is in Html. Default value is true. |
Password | Gets or sets the password for SMTP server authentication. |
Port | Gets or sets the port used for SMTP transactions. |
ReplyToAddressTemplate | Gets or sets the email address to reply to. |
SubjectTemplate | Gets or sets the email subject template that may contain column names from the DataSource such as Order Confirmation [*orderNumber*]. |
ToAddressTemplate | Gets or sets the recipient email address column in the DataSource such as [*toAddress*]. |
Username | Gets or sets the username for SMTP server authentication. |
Public Instance Methods
Equals (inherited from Object) | Determines whether the specified Object is equal to the current Object. |
GetHashCode (inherited from Object) | Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. |
GetType (inherited from Object) | Gets the Type of the current instance. |
SendMailMerge | Overloaded. Sends the message template to the recipients by updating the merge fields wrapped as [*fieldName*] from the data table. |
ToString (inherited from Object) | Returns a String that represents the current Object. |
Public Instance Events
AfterSend | Raised after a mail is sent to the email address in the merged row. |
BeforeMerge | Raised before a mail is merged. |
BeforeSend | Raised before a mail is sent to the email address in the merged row. |
See Also
MailMerge Class | Karamasoft.WebControls.UltimateEmail Namespace