Click or drag to resize

IFluentMail Interface

Email configuration.

Namespace:  Limilabs.Mail.Fluent
Assembly:  Mail (in Mail.dll) Version: 3.0.23341.1754
Syntax
public interface IFluentMail

The IFluentMail type exposes the following members.

Methods
  NameDescription
Public methodAddAlternative
Adds alternative view for this message.
Public methodAddAppointment
Adds specified appointment as alternative view for this message.
Public methodAddAttachment(Byte)
Adds a attachment to the message.
Public methodAddAttachment(String)
Adds a attachment to the message.
Public methodAddCustomHeader
Adds custom header.
Public methodAddVCard
Adds specified VCARD as attachment to this message.
Public methodAddVisual(Byte)
Adds a visual attachment to the message.
Public methodAddVisual(String)
Adds a visual attachment to the message.
Public methodBcc(String)
Sets the address(es) of others who are to receive this email message ('BCC', Blind Carbon Copy header), even tough the content of the message may not be directed at them. This method can be used multiple times to set many addresses.
Public methodBcc(MailAddress)
Sets the address(es) of others who are to receive this email message ('BCC', Blind Carbon Copy header), even tough the content of the message may not be directed at them. You can use MailBox to represent single mailbox, or MailGroup to represent group of email addresses. This method can be used multiple times to set many addresses.
Public methodCc(String)
Sets the address(es) of others who are to receive this email message ('CC', Carbon Copy header), even tough the content of the message may not be directed at them. This method can be used multiple times to set many addresses.
Public methodCc(MailAddress)
Sets the address(es) of others who are to receive this email message ('CC', Carbon Copy header), even tough the content of the message may not be directed at them. You can use MailBox to represent single mailbox, or MailGroup to represent group of email addresses. This method can be used multiple times to set many addresses.
Public methodCreate
Creates new IMail object.
Public methodDate
Sets the send date of a email message ('Date' header). If null, Date is set automatically to current date and time when Create method is used.
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. General rule is that both sender and receiver should be able to decrypt the message.
Public methodFrom(String)
Sets the author of this email ('From' header). This method can be used multiple times to set many addresses.
Public methodFrom(MailBox)
Sets the author of this email ('From' header).
Public methodHtml
Sets HTML version of the email. If html is not empty extracts plain text from HTML and overrides Text(String).
Public methodImportance
Public methodInReplyTo
Sets the id of the parent email message ('In-Reply-To' header).
Public methodMessageID
Sets id of a email message ('Message-ID' header). If not set or set to null generated automatically.
Public methodNotificationTo(String)
Sets the disposition notifications address(es) ('Disposition-Notification-To' header). Consider using RequestReadReceipt method instead of using this method. This method can be used multiple times to set many addresses.
Public methodNotificationTo(MailBox)
Sets the disposition notifications address(es) ('Disposition-Notification-To' header). Consider using RequestReadReceipt method instead of using this method. This method can be used multiple times to set many addresses.
Public methodPriority
Sets the priority of a email message ('Priority' header). Consider using PriorityHigh or PriorityLow methods instead of using this method.
Public methodPriorityHigh
Public methodPriorityLow
Public methodReferences
Adds unique id (MessageID) of the referenced email message ('References' header).
Public methodReplyTo(String)
Sets email address(es) to which the author of this email message suggests that replies be sent ('Reply-to' header). This method can be used multiple times to set many addresses.
Public methodReplyTo(MailAddress)
Sets email address(es) to which the author of this email message suggests that replies be sent ('Reply-to' header). You can use MailBox to represent single mailbox, or MailGroup to represent group of email addresses. This method can be used multiple times to set many addresses.
Public methodRequestReadReceipt
This method copies From or ReplyTo addresses to all read receipts lists. Read receipts are stored using NotificationTo, ReturnReceiptTo and XConfirmReadingTo headers.
Public methodReturnReceiptTo(String)
Sets return receipt address(es) ('Return-Receipt-To' header). Consider using RequestReadReceipt method instead of using this method. This method can be used multiple times to set many addresses.
Public methodReturnReceiptTo(MailBox)
Sets return receipt address(es) ('Return-Receipt-To' header). Consider using RequestReadReceipt method instead of using this method. This method can be used multiple times to set many addresses.
Public methodSend
Sends the message using provided SMTP client instance.
Public methodSender(String)
Sets mailbox of the agent responsible for the actual transmission of this email message ('Sender' header).
Public methodSender(MailBox)
Sets mailbox of the agent responsible for the actual transmission of this email message ('Sender' header).
Public methodSensitivity
Sets the sensitivity of a email message ('Sensitivity' header).
Public methodSignWith(X509Certificate2)
Signs the message.
Public methodSignWith(SignatureConfiguration)
Signs the message.
Public methodSubject
Sets subject of a message ('Subject' header).
Public methodText
Sets plain text version of the email. Please remember that using Html(String) method will override plain text.
Public methodTo(String)
Sets address(es) of the primary recipient(s) of this email message ('To' header). This method can be used multiple times to set many addresses.
Public methodTo(MailAddress)
Sets address(es) of the primary recipient(s) of this email message ('To' header). You can use MailBox to represent single mailbox, or MailGroup to represent group of email addresses. This method can be used multiple times to set many addresses.
Public methodUsingNewSmtp
Creates new SMTP configuration for this message with localhost set as a server.
Public methodUsingNewSmtp(String)
Creates new SMTP configuration for this message with specified server address.
Public methodXConfirmReadingTo(String)
Sets confirm reading address(es) ('X-Confirm-Reading-To' header). Consider using RequestReadReceipt method instead of using this method. This method can be used multiple times to set many addresses.
Public methodXConfirmReadingTo(MailBox)
Sets confirm reading address(es) ('X-Confirm-Reading-To' header). Consider using RequestReadReceipt method instead of using this method. This method can be used multiple times to set many addresses.
Public methodXPriority
Sets the X-Priority of this email message ('X-Priority' header) (Outlook specific). Value ranges from "1" to "5" where "1" is the highest priority, "3" is normal, and "5" is the lowest priority. Consider using PriorityHigh or PriorityLow methods instead of using this method.
Top
See Also