MailMessageConvertToSystemNetMail Method |
Namespace: MailBee.MimeAssembly: MailBee.NET (in MailBee.NET.dll) Version: 12.5.0 build 687 for .NET 4.5
Syntax public MailMessage ConvertToSystemNetMail()
Public Function ConvertToSystemNetMail As MailMessage
Return Value
Type:
MailMessageA
System.Net.Mail.MailMessage object representing the current mail message.
Exceptions Remarks
The conversion may fail in case of unusual header values (such as X400 e-mail addresses) because
System.Net.Mail.MailMessage class does not support them.
You can read such a mail message with MailBee but not with
System.Net.Mail.MailMessage. Thus, if your mail message contains elements which are not supported
by
System.Net.Mail.MailMessage, you should remove or correct them prior to calling this method.
See Also