aspNetEmail

Attachment Members

Attachment overview

Public Static Properties

ZippedAttachmentEncodingEncoding used on names found in the zipped archive.

Public Static Methods

CreateFromExceptionCreates an Attachment from a .NET exception object.
ZippedAttachmentOverloaded. Create a compressed/zipped attachment from a file.

Public Instance Constructors

AttachmentOverloaded. Initializes a new instance of the Attachment class.

Public Instance Properties

CharSetCharacterset of the Attachment object
ContentDisposition The Content Disposition for the mime part.
Contents The encoded contents of the attachment.
ContentTransferEncoding The encoding of scheme of the contents.
ContentType The content type of the attachment part.
DataBinary data of the Attachment
FileName File name of the attachment.
Headers NameValueCollection of Headers for the Attachment.
Name The name of the attachment.

Public Instance Methods

AddHeader Adds custom headers to Attachments.
ClearHeaders Clears any custom headers.
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object)Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object)Gets the Type of the current instance.
ToString (inherited from Object)Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.

See Also

Attachment Class | aspNetEmail Namespace