The MailBuilder type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| MailBuilder |
Creates new MailBuilder object.
|
Methods
| Name | Description | |
|---|---|---|
| AddAlternative |
Adds alternative view for this message.
| |
| AddAppointment |
Adds specified appointment as alternative view for this message.
| |
| AddAttachment(array<Byte>[]()[][]) |
Adds attachment with specified data.
| |
| AddAttachment(String) |
Adds attachment. Data are read from the specified file.
| |
| AddAttachment(MimeData) |
Adds attachment.
| |
| AddCustomHeader |
Adds custom header that will be added to IMail object after creation.
| |
| AddVisual(array<Byte>[]()[][]) |
Adds visual object with specified data.
| |
| AddVisual(String) |
Adds visual object. Data are read from the specified file.
| |
| AddVisual(MimeData) |
Adds visual object.
| |
| ClearAttachments | Obsolete.
Clears attachments, visuals and non-visuals collections.
| |
| Create |
Creates new IMail using builder configuration.
| |
| CreateFromDocument |
Creates new IMail using specified MIME document.
| |
| CreateFromEml |
Creates new IMail using specified eml raw data string.
| |
| CreateFromEmlFile |
Loads raw eml data from file and creates new IMail object.
| |
| DKIMSign(RSACryptoServiceProvider, DKIMSignatureInfo) |
Signs the message using DKIM (DomainKeys Identified Mail) signature.
| |
| DKIMSign(RSACryptoServiceProvider, String, String) |
Signs the message using DKIM (DomainKeys Identified Mail) signature.
| |
| EncryptWith |
Encrypts the message using specified certificate.
You can call this method multiple times to use several certificates for encryption.
General rule is that both sender and receiver should be able to decrypt the message.
| |
| Equals | (Inherited from Object.) | |
| Finalize |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) | |
| GetHashCode |
Serves as a hash function for a particular type.
(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.) | |
| PriorityHigh | ||
| PriorityLow | ||
| Remove | Obsolete.
Removes specified mime object from attachments, visuals and alternatives collections.
| |
| RequestReadReceipt |
This method copies From list to all read receipts lists just before email is created (Create()()()() method).
Read receipts are stored using ,
or header.
| |
| SetHtmlData | Obsolete.
Sets HTML data. Extracts plain text from HTML and also sets plain text data.
| |
| SetTextData | Obsolete.
Sets plain text data. Please remember that SetHtmlData(String) will override the plain text set by this method.
| |
| SignWith |
Signs the message.
| |
| ToString | (Inherited from Object.) |
Properties
| Name | Description | |
|---|---|---|
| Alternatives |
Gets the list of all alternative elements. You can use AddAlternative(MimeBase) or AddAppointment(Appointment) methods to add attachment to this collection.
| |
| Bcc | ||
| Cc | ||
| Date |
'Date' field, message send date. May be null when not specified or in case of parsing error.
| |
| From |
'From' field, author(s) of the message.
If empty, email-message is NOT RFC 2822 compliant.
| |
| Html |
Gets or sets HTML version of the email. Extracts plain text from HTML and also sets Text property.
| |
| Importance |
'Importance' field, message's importance.
It's easier to use PriorityHigh()()()() or PriorityLow()()()() methods then setting this field.
| |
| InReplyTo |
'In-Reply-To' field, message's parent, without surrounding brackets (< and >).
| |
| MessageID |
'Message-ID' field, message's id. Without surrounding brackets (< and >).
If not set or set to null it is generated automatically.
| |
| NonVisuals |
Gets the list of all visual elements. You can use AddAttachment(MimeData) method to add attachment to this collection.
| |
| NotificationTo |
'Disposition-Notification-To' header. May be empty.
It's easier to use RequestReadReceipt()()()() method then adding addresses to this property.
| |
| Priority |
'Priority' field, message's priority.
It's easier to use PriorityHigh()()()() or PriorityLow()()()() methods then setting this field.
| |
| References |
'References' field, ids of the referenced messages. Without surrounding brackets (< and >).
| |
| ReplyTo | ||
| ReturnReceiptTo |
'Return-Receipt-To' field. May be empty.
It's easier to use RequestReadReceipt()()()() method then adding addresses to this property.
| |
| Sender |
'Sender' field, mailbox of the agent responsible for the actual transmission.
If 'Sender' is null use From property.
| |
| Sensitivity |
'Sensitivity' field, message's sensitivity.
| |
| SetDefaults |
Gets or set the value indicating whether default values (message-id, date) should be set.
Default is true.
| |
| SMIMEConfiguration |
Gets S/MIME decrypt configuration (automatic decryption, certificates used for decryption)
| |
| Subject |
'Subject' field, message's subject.
| |
| Text |
Gets or sets plain text version of the email. Please remember that setting Html will override plain text.
| |
| To | ||
| Visuals |
Gets the list of all non visual elements. You can use AddVisual(MimeData) method to add attachment to this collection.
| |
| XConfirmReadingTo |
'X-Confirm-Reading-To' field. May be empty.
It's easier to use RequestReadReceipt()()()() method then adding addresses to this property.
| |
| XPriority |
'X-Priority' field (Outlook specific).
Value ranges from "1" to "5" where "1" is the highest priority, "3" is normal, and "5" is the lowest priority.
It's easier to use PriorityHigh()()()() or PriorityLow()()()() methods then setting this field.
|