![]() | Create a new instance of an EmailMessage. |
![]() | Get the current EmailAddressCollection of BCC addresses |
![]() | The text that occurs within the body. By default, it is a MIME notice, but it can be overridden here. NOTE: This is only useful for 7 bit us-ascii currently. |
![]() | Retrieve the collection of recipients that will appear in the "Cc" header of the email. |
![]() | Set the content type string in the mime header |
![]() | Normally the FromAddress is used as the envelope-from address, but it can be overridden here, if it is not null. |
![]() | The address that appears in the From header. It will also be used as the Envelope From address in the SMTP negotiation, unless it is overridden by the EnvelopeFromAddress setting. |
![]() | The charset that is used for encoding the headers |
![]() | The mime encoding that is used for encoding the headers |
![]() | Set the html part of the email. This is optional |
![]() | Get/set the organization (as it will appear in the organization header |
![]() | The subject line or subject header of the email. |
![]() | Set the plain text part of the email. This is optional |
![]() | Retrieve the collection of recipients that will appear in the "To" header of the email. |
![]() | Get the current XMailer setting for the X-Mailer header. |
![]() | Overloaded. Add a recipient who will be "Blind Carbon Copied" as a recipient of the email. BCC addresses are not added to the email headers, but only appear during the "RCPT TO" SMTP negotiation. |
![]() | Overloaded. Add a Cc address to the Headers. This will also be used during the "RCPT TO" SMTP negotiation |
![]() | Add a custom mail header, e.g. "X-MyHeader". |
![]() | Add an attachment which will appear to the user as a separate file. (It is not referred to in the email itself.) |
![]() | Add an image which is referred to from another part of the email (probably the HTML attachment). You should set the ContentID of the file attachment before passing it in. |
![]() | Overloaded. Add a To address to the Headers. This will also be used during the "RCPT TO" SMTP negotiation |
![]() | Determines whether the specified Object is equal to the current Object. |
![]() | Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. |
![]() | Gets the Type of the current instance. |
![]() | Send out the email via the smtp server given. If the SMTP server throws an error, an SmtpException will be thrown. All other exceptions will be MailExceptions |
![]() | Render the encoded message for smtp "DATA" transmission. This is the final version that will get sent to the |
![]() | Returns a String that represents the current Object. |
![]() | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. |
![]() | Creates a shallow copy of the current Object. |