Click or drag to resize

IFluentAttachment Interface

Represents attachment configuration.

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

The IFluentAttachment type exposes the following members.

Methods
  NameDescription
Public methodAddAlternative
Adds alternative view for this message.
(Inherited from IFluentMail.)
Public methodAddAppointment
Adds specified appointment as alternative view for this message.
(Inherited from IFluentMail.)
Public methodAddAttachment(Byte)
Adds a attachment to the message.
(Inherited from IFluentMail.)
Public methodAddAttachment(String)
Adds a attachment to the message.
(Inherited from IFluentMail.)
Public methodAddCustomHeader
Adds custom header.
(Inherited from IFluentMail.)
Public methodAddVCard
Adds specified VCARD as attachment to this message.
(Inherited from IFluentMail.)
Public methodAddVisual(Byte)
Adds a visual attachment to the message.
(Inherited from IFluentMail.)
Public methodAddVisual(String)
Adds a visual attachment to the message.
(Inherited from IFluentMail.)
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.
(Inherited from IFluentMail.)
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.
(Inherited from IFluentMail.)
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.
(Inherited from IFluentMail.)
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.
(Inherited from IFluentMail.)
Public methodCreate
Creates new IMail object.
(Inherited from IFluentMail.)
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.
(Inherited from IFluentMail.)
Public methodDKIMSign(ListDKIMSignatureConfiguration)
Signs the message with multiple DKIM (DomainKeys Identified Mail) signatures.
(Inherited from IFluentMail.)
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.
(Inherited from IFluentMail.)
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.
(Inherited from IFluentMail.)
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.
(Inherited from IFluentMail.)
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.
(Inherited from IFluentMail.)
Public methodFrom(String)
Sets the author of this email ('From' header). This method can be used multiple times to set many addresses.
(Inherited from IFluentMail.)
Public methodFrom(MailBox)
Sets the author of this email ('From' header).
(Inherited from IFluentMail.)
Public methodHtml
Sets HTML version of the email. If html is not empty extracts plain text from HTML and overrides Text(String).
(Inherited from IFluentMail.)
Public methodImportance (Inherited from IFluentMail.)
Public methodInReplyTo
Sets the id of the parent email message ('In-Reply-To' header).
(Inherited from IFluentMail.)
Public methodMessageID
Sets id of a email message ('Message-ID' header). If not set or set to null generated automatically.
(Inherited from IFluentMail.)
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.
(Inherited from IFluentMail.)
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.
(Inherited from IFluentMail.)
Public methodPriority
Sets the priority of a email message ('Priority' header). Consider using PriorityHigh or PriorityLow methods instead of using this method.
(Inherited from IFluentMail.)
Public methodPriorityHigh (Inherited from IFluentMail.)
Public methodPriorityLow (Inherited from IFluentMail.)
Public methodReferences
Adds unique id (MessageID) of the referenced email message ('References' header).
(Inherited from IFluentMail.)
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.
(Inherited from IFluentMail.)
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.
(Inherited from IFluentMail.)
Public methodRequestReadReceipt
This method copies From or ReplyTo addresses to all read receipts lists. Read receipts are stored using NotificationTo, ReturnReceiptTo and XConfirmReadingTo headers.
(Inherited from IFluentMail.)
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.
(Inherited from IFluentMail.)
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.
(Inherited from IFluentMail.)
Public methodSend
Sends the message using provided SMTP client instance.
(Inherited from IFluentMail.)
Public methodSender(String)
Sets mailbox of the agent responsible for the actual transmission of this email message ('Sender' header).
(Inherited from IFluentMail.)
Public methodSender(MailBox)
Sets mailbox of the agent responsible for the actual transmission of this email message ('Sender' header).
(Inherited from IFluentMail.)
Public methodSensitivity
Sets the sensitivity of a email message ('Sensitivity' header).
(Inherited from IFluentMail.)
Public methodSetContentId
Sets the attachment's Content-Id.
Public methodSetContentType
Sets the attachment's Content-type.
Public methodSetFileName
Sets the FileName and ContentType value if requested.
Public methodSignWith(X509Certificate2)
Signs the message.
(Inherited from IFluentMail.)
Public methodSignWith(SignatureConfiguration)
Signs the message.
(Inherited from IFluentMail.)
Public methodSubject
Sets subject of a message ('Subject' header).
(Inherited from IFluentMail.)
Public methodText
Sets plain text version of the email. Please remember that using Html(String) method will override plain text.
(Inherited from IFluentMail.)
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.
(Inherited from IFluentMail.)
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.
(Inherited from IFluentMail.)
Public methodUsingNewSmtp
Creates new SMTP configuration for this message with localhost set as a server.
(Inherited from IFluentMail.)
Public methodUsingNewSmtp(String)
Creates new SMTP configuration for this message with specified server address.
(Inherited from IFluentMail.)
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.
(Inherited from IFluentMail.)
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.
(Inherited from IFluentMail.)
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.
(Inherited from IFluentMail.)
Top
See Also