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

MimeAttachment Members

MimeAttachment overview

Public Instance Constructors

MimeAttachment Overloaded. Initializes a new instance of the MimeAttachment class.

Public Instance Properties

Attachments Attachments list
Body The attachment body
ContentTransferEncoding Gets or sets the "Content-Transfer-Encoding" header field
ContentType Gets or sets the "Content-Type" header field
Filename Return the filename property
Header The attachment header
Headers Attachment headers array
Multipart Return the multipart flag

Public Instance Methods

AddLine Add a line to the decoder
CheckAttachmentEnd Check if an attachment is pending before stop decoding
Equals (inherited from Object) 
ExtractFilename The methods extract the filename parameters from attachment
GetBytes Returns an array of Byte from a base64 attachement
GetHashCode (inherited from Object) 
GetStream Returns Stream from a base64 attachement
GetType (inherited from Object) 
SetBodyHtml Initilizes attachment as html. The text is coded in utf8 Base64
SetBodyTextOverloaded. Initilizes attachment as text. The text is coded in utf8 Base64
ToString The method returns a string containing MimeAttachment details
Write Writes attachment to a stream

See Also

MimeAttachment Class | SmtPop Namespace