Simple Mail and Post Office Protocol for .Net (SmtPop)

MimeMessage Members

MimeMessage overview

Public Instance Constructors

MimeMessage Constructor Initializes a new instance of the MimeMessage class.

Public Instance Fields

m_header The header source
m_headerBuilder A temporary string builder to build header string

Public Instance Properties

AddressBCC The BCC: adress list
AddressCC The CC: address list
AddressFrom The From: address list
AddressSender The Sender: address
AddressTo The To: address list
AttachmentArray Attachment list
Attachments Attachment list
Body The message body
ContentTransferEncoding Gets or sets the "Content-Transfer-Encoding" header field
HeaderContentType Gets or sets the "Content-Type" header field
HeaderFrom Gets or sets the "From" header field
HeaderMessageId Gets or sets the "Message-ID" header field
Headers Message header array
HeaderSubject Gets or sets the "Subject" header field
HeaderTo Gets or sets the "To" header field.
LinesTreated The number of text lines decoded to create the message
Multipart Return / set the multipart flag
Subject The message subject

Public Instance Methods

AddAttachment Adds an attachment
AddLine Add a message line to the decoder
EndDecode Ensure decode is ended
Equals (inherited from Object) 
GetHashCode (inherited from Object) 
GetType (inherited from Object) 
IsMultipart Check if the the message is multipart
Read The method read an RFC 2822 Mime Message from the stream "stream"
SaveAdr Build headers from To, CC, and BCC address from address list
SetAddressFrom Intializes the From: adresses field
SetAddressTo Intializes the To: adresses field
SetAttachments Initializes the attachement list
SetBody Initializes the body
SetBodyHtml Initializes the body
SetBodyText Initializes the body
SetSubjectOverloaded. Initializes the message subject. Subject is MimeWord encoded utf8 base64
ToString Return a string containing MimeMessage details
Write Writes messages to a stream

See Also

MimeMessage Class | SmtPop Namespace