Click or drag to resize

MailBuilder Methods

The MailBuilder type exposes the following members.

Methods
  NameDescription
Public methodAddAlternative(Byte)
Adds alternative view for this message.
Public methodAddAlternative(MimeBase)
Adds alternative view for this message.
Public methodAddAppointment
Adds specified appointment as alternative view for this message.
Public methodAddAttachment(Byte)
Adds attachment with specified data.
Public methodAddAttachment(String)
Adds attachment. Data are read from the specified file.
Public methodAddAttachment(MimeData)
Adds attachment.
Public methodAddCustomHeader
Adds custom header that will be added to IMail object after creation.
Public methodAddVCard
Adds specified VCARD as attachment to this message.
Public methodAddVisual(Byte)
Adds visual object with specified data.
Public methodAddVisual(String)
Adds visual object. Data are read from the specified file.
Public methodAddVisual(MimeData)
Adds visual object.
Public methodCreate
Creates new IMail using builder configuration.
Public methodCreateFromDocument Obsolete.
Creates new IMail using specified MIME document.
Public methodCreateFromEml(Byte)
Creates new IMail using specified eml raw data.
Public methodCreateFromEml(String) Obsolete.
Creates new IMail using specified eml raw data string.
Public methodCreateFromEmlFile
Loads raw eml data from file and creates new IMail object.
Public methodDKIMSign(ListDKIMSignatureConfiguration)
Signs the message with multiple DKIM (DomainKeys Identified Mail) signatures.
Public methodDKIMSign(RSACryptoServiceProvider, DKIMSignatureInfo)
Signs the message using DKIM (DomainKeys Identified Mail) signature. You can call this method multiple times to have several DKIM signatures present in the resulting message.
Public methodDKIMSign(RSACryptoServiceProvider, String, String)
Signs the message using DKIM (DomainKeys Identified Mail) signature. You can call this method multiple times to have several DKIM signatures present in the resulting message.
Public methodEncryptWith(X509Certificate2)
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.
Public methodEncryptWith(EncryptionConfiguration)
Encrypts the message using specified encryption configuration.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodLoadHtml(String)
Sets HTML version of the message. Modifies passed HTML, so that img tags reference inline images. Adds all images that can be found on disk to Visuals collection. Extracts plain text from HTML and overrides Text property.
Public methodLoadHtml(String, LoadHtmlConfiguration)
Sets HTML version of the message. Modifies passed HTML, so that img tags reference inline images. Adds all images that can be found on disk to Visuals collection. Extracts plain text from HTML and overrides Text property.
Public methodLoadHtml(String, String)
Sets HTML version of the message. Modifies passed HTML, so that img tags reference inline images. Adds all images that can be found on disk to Visuals collection. Extracts plain text from HTML and overrides Text property.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodPriorityHigh
Sets XPriority to 1, Priority to Urgent and Importance to High
Public methodPriorityLow
Sets XPriority to 5, Priority to NonUrgent and Importance to Low
Public methodRequestReadReceipt
This method copies From or ReplyTo addresses to all read receipts lists, just before email is created (using Create method). Read receipts are stored using NotificationTo, ReturnReceiptTo and XConfirmReadingTo headers.
Public methodSignWith(X509Certificate2)
Signs the message.
Public methodSignWith(SignatureConfiguration)
Signs the message.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also