Gets or Sets the boundary for parts of the email.
This property should only be used by advanced developers. If the Boundary is not set, aspNetEmail will intelligently create the boundary.
[C#]
EmailMessage msg = new EmailMessage( "mail.myCompany.com");
msg.FromAddress = "me@myCompany.com";
msg.Subject = "Order Confirmation";
msg.To = "you@yourcompany.com";
//logging for easier troubleshooting
msg.Logging = true;
msg.LogPath = "c:\\email.log";
//declare the boundary
msg.Boundary = "ABCDEF";
//set the plain text body
msg.TextBodyPart = "the plain text part goes here...";
//set the html text body
msg.HtmlBodyPart ="html text can go here...";
msg.Send();
[VB.NET]
Dim msg As New EmailMessage("mail.myCompany.com")
msg.FromAddress = "me@myCompany.com"
msg.Subject = "Order Confirmation"
msg.To = "you@yourcompany.com"
'logging for easier troubleshooting
msg.Logging = True
msg.LogPath = "c:\email.log"
'declare the boundary
msg.Boundary = "ABCDEF"
'set the plain text body
msg.TextBodyPart = "the plain text part goes here..."
'set the html text body
msg.HtmlBodyPart = "html text can go here..."
msg.Send()