The EasyEmailSender type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| EasyEmailSender |
Class constructor
|
Methods
| Name | Description | |
|---|---|---|
| Equals | (Inherited from Object.) | |
| Finalize |
Class destructor
(Overrides Object..::.Finalize()()().) | |
| GenerateNewReferenceID |
Generate a unique ID and a friendly unique ID
| |
| GetFriendlyReferenceID |
Get a friendly reference ID out of a Guid reference ID
| |
| GetHashCode | Serves as a hash function for a particular type. GetHashCode()()() is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| Send | Overloaded. | |
| SendCompletedCallback | The SendCompleted event is raised each time an e-mail message is sent asynchronously when the send operation completes (to send an e-mail message asynchronously use the SendAsync method) NOTE: when sending asynchronously from a web page the page directive Async="true" should be used | |
| ToString | (Inherited from Object.) |
Properties
| Name | Description | |
|---|---|---|
| AddressEncoding | Gets or sets the encoding for email addresses (the default is Encoding.UTF8) | |
| AddressesBCC |
Gets the address collection that contains the blind carbon copy (BCC) recipients for this e-mail message
| |
| AddressesCC |
Gets the address collection that contains the carbon copy (CC) recipients for this e-mail message
| |
| AddressesTo |
Gets the address collection that contains the recipients of this e-mail message
| |
| AddressFrom |
Gets or sets the from address for this e-mail message
| |
| AddressReplyTo |
Gets or sets the ReplyTo address for the mail message
| |
| AddressSender |
Gets or sets the sender's address for this e-mail message
| |
| Attachments | Gets or sets a list of attachment(s) to be attached (if attachment is a file then make sure that the file exists) | |
| Body |
Gets or sets the message body
| |
| BodyEncoding | Gets or sets the encoding used to encode the message body (Encoding.UTF8 is the default) | |
| BodyIsHtml |
Gets or sets a value indicating whether the mail message body is in Html
| |
| ErrorMessage |
Gets or sets the last error message
| |
| Headers |
Gets the e-mail headers that are transmitted with this e-mail message
| |
| NotificationOptions |
Gets or sets the delivery notifications for this e-mail message
| |
| Priority |
Gets or sets the priority of this e-mail message
| |
| ReferenceID |
Gets or sets a unique identifier (Guid) for the email message object
| |
| ReferenceIDFriendly | Gets or sets a user friendly identifier for the email message object (should be based on the ReferenceID if ReferenceID is being used) | |
| SMTPDomain | Gets or sets the domain or computer name that verifies the credentials (it will only be used if it is initialized) | |
| SMTPEnableSSL |
Gets or sets whether the System.Net.Mail.SmtpClient uses Secure Sockets Layer (SSL) to encrypt the connection
| |
| SMTPHost |
Gets or sets the name or IP address of the host used for SMTP transactions
| |
| SMTPPassword | Gets or sets the password for the user name associated with the credentials (it will only be used if SMTPUserName is provided and if SpecifiedCredentials is not initialized) | |
| SMTPPort | Gets or sets the port used for SMTP transactions (it will only be used if it is initialized) | |
| SMTPUserName | Gets or sets the user name associated with the credentials (it will only be used if SMTPPassword is provided and if SpecifiedCredentials is not initialized) | |
| SpecifiedCredentials | Gets or sets the credentials for password-based authentication schemes (it will only be used if it is initialized) | |
| Subject | Gets or sets the subject line for this e-mail message (NOTE: a lot of providers will normally treat empty subject as spam) | |
| SubjectEncoding | Gets or sets the encoding used for the subject content for this e-mail message (Encoding.UTF8 is the default) |