DotNetOpenMail 0.5.7 (beta)

AbstractEmailAttachment Members

AbstractEmailAttachment overview

Public Instance Constructors

AbstractEmailAttachment Constructor Empty constructor

Public Instance Properties

CharSet The character set of the encoded text
ContentBytes The raw bytes of the content (if this is the way it was set.)
ContentId An optional content id that is used to refer to the attachment from elsewhere within a multipart/related email.
Contents The unencoded contents, as a string (optional)
ContentType The "content type" of the attachment
Encoding The encoding type for this attachment.
FileName The file name to attach to the attachment.

Public Instance Methods

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.
ToDataString Return the encoded contents, including mime header.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Fields

_charset The character set of the encoded text
_contentbytes The binary source of the file
_contentdescription The content description of the attachment
_contentdisposition The content disposition of the attachment
_contentid An optional content id
_contents The unencoded contents, as a string (optional)
_contenttransferencoding The content-transfer encoding of the attachment
_contenttype The "content type" of the attachment
_encodingtype The mail encoding type (e.g. quoted-printable, etc)
_fileinfo The file source to read from
_filename The file name to identify the content. (This can be different from the actual file name, if there was one.)

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.
GetInternalMimeHeader Create the internal mime header, as found on the mime-attachment itself.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

AbstractEmailAttachment Class | DotNetOpenMail Namespace