The EasyEmailSender type exposes the following members.

Properties

  NameDescription
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)

See Also