Class SmtpExtensions
Extension methods.
Inherited Members
Namespace: Swan
Syntax
public static class SmtpExtensions
Methods
ToMimeMessage(MailMessage)
The raw contents of this MailMessage as a MemoryStream.
Declaration
public static MemoryStream ToMimeMessage(this MailMessage this)
Parameters
| Type | Name | Description |
|---|---|---|
| MailMessage | this | The caller. |
Returns
| Type | Description |
|---|---|
| MemoryStream | A MemoryStream with the raw contents of this MailMessage. |