SendMailJobMessage Property
Gets a reference to the mail message object to be sent or merged.

Namespace: MailBee.SmtpMail
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 12.5.0 build 687 for .NET 4.5
Syntax
public MailMessage Message { get; }

Property Value

Type: MailMessage
A reference to the mail message object (if the job consists of sending a single e-mail message, not mail merge) or a template e-mail for mail merge.
Remarks

If the job is of sending a single e-mail message supplied by the application, Message refers to the mail message object to be sent. If the job is a mail merge job, Message refers to the template which will be merged (or, for finished jobs, was already merged) with data table rows.

For mail merge jobs, the developer can use MergedMessage property to get the result of mail merge of the template with a data row. However, MailBee does not keep merged messages in finished jobs to avoid memory overhead (unless AddJob(String, String, EmailAddressCollection, DataTable, Object, Boolean, Boolean) method was called with keepMergedData set to true).

See Also