Email Class |
Namespace: Dynamicweb.News.Common
The Email type exposes the following members.
| Name | Description | |
|---|---|---|
| Attachment |
Returns the message's collection of attachments.
| |
| Body |
Stores and retrieves the current newsletter body text.
| |
| CreationTime |
Stores and retrieves the current newsletter date of creation.
| |
| Encoding | Obsolete.
Stores and retrieves the current newsletter encoding.
| |
| FromAddress |
Stores and retrieves a sender e-mail address.
| |
| FromName |
Gets the sender name.
| |
| MailEncoding |
Stores and retrieves the current newsletter encoding.
| |
| MailFormat |
Stores and retrieves the current newsletter format.
| |
| ReplyTo |
Stores and retrieves the e-mail of the recipient, which will be received the copy of this message.
| |
| SMTP |
Stores and retrieves SMTP server name or IP address, which will send a newsletter.
| |
| Subject |
Stores and retrieves the message subject.
| |
| ToAddress |
Stores and retrieves E-mail of the recipient.
| |
| ToName |
Stores and retrieves the recipient name.
|
| Name | Description | |
|---|---|---|
| AddAttachment |
Adds the specified attachment to the collection.
| |
| GetByteArray |
Returns an array of bytes represents a message.
| |
| RemoveFileFromAttachment |
Finds and removes the specified attached file from the collection.
| |
| Send |
Sends the current e-mail message.
| |
| SendMail(String, String, String, String, String, String, String) |
Creates and sends the e-mail message.
| |
| SendMail(String, String, String, String, String, String, Encoding) |
Creates and sends the e-mail message.
| |
| SendToPickUpDirectory |
Saves the current message in the DropFolder of SMTP server.
|