Thetype exposes the following members.
Rebuilds the message accordingly the current settings.
Determines whether the specified object is equal to the current object.(Inherited from Object.)
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)
Serves as the default hash function.(Inherited from Object.)
Gets the Type of the current instance.(Inherited from Object.)
Creates a shallow copy of the current Object.(Inherited from Object.)
Forces MailBee to sign all outgoing e-mail messages with DKIM or DomainKeys signatures.
Returns a string that represents the current object.(Inherited from Object.)
Gets or sets the character to be used as a delimiter for e-mail addresses.
Forces MailBee to build only the message header and leave the body section intact.
Gets or sets the condition which triggers automatic conversion of the HTML body of the message into plain-text.
Gets or sets the options which affect automatic conversion of the HTML body into plain-text.
Forces MailBee to include empty headers in the message upon building the message.
Gets or sets the delegate to be called whenever MailBee tries to import the resource referenced in the HTML body and replace it with CID.
Gets or sets the path to the folder from which to take the files related to the message.
Indicates whether BCC header should be removed from the message when it gets sent or submitted to the pickup folder.
Indicates whether the current date and time should be added to the message at the moment of sending or submitting to the pickup folder.
Indicates if Message-ID header should be set to a new unique value and added to the message at the moment of sending or submitting to the pickup folder.
This class allows the developer to tune how a new mail message will be generated from MailMessage properties and collections. This may include automatic creation of plain-text version of the HTML body, setting Date and MessageID values, and much more. A new mail message is a message created with MailBee.
To tune how an existing mail message should be being parsed, use MailMessage.Parser property. An existing mail message is a message received from another source (such as file, stream, mail server, etc).
A message can be both existing and new. For instance, if you have received a message from the mail server (this makes this message existing), modified it and are re-sending it again. This will produce a new message (although it's based on another existing message).
|MailMessage.Builder property.object cannot be used on its own. To access its members, use|
// To use the code below, import MailBee namespaces at the top of your code. using MailBee; using MailBee.Mime; // Create a new MailMessage object. MailMessage msg = new MailMessage(); // Tell MailBee to create plain-text version of the HMTL body. msg.Builder.HtmlToPlainMode = HtmlToPlainAutoConvert.IfNoPlain; // Set the HTML body contents. msg.BodyHtmlText = @"<html><b>Hello</b>, <i>World</i>!</html>"; // Save the message into a folder. The plain-text version will be // created at this point along with generating MIME source of the message. msg.SaveMessage(@"C:\Temp\TestMail.eml");
' To use the code below, import MailBee namespaces at the top of your code. Imports MailBee Imports MailBee.Mime ' Create a new MailMessage object. Dim msg As New MailMessage ' Tell MailBee to create plain-text version of the HMTL body. msg.Builder.HtmlToPlainMode = HtmlToPlainAutoConvert.IfNoPlain ' Set the HTML body contents. msg.BodyHtmlText = "<html><b>Hello</b>, <i>World</i>!</html>" ' Save the message into a folder. The plain-text version will be ' created at this point along with generating MIME source of the message. msg.SaveMessage("C:\Temp\TestMail.eml")