aspNetEmail

EmbeddedObject Members

EmbeddedObject overview

Public Static Methods

ParseFile Creates an EmbeddedObject from a file path.
ParseUrl Creates an embedded object from a url

Public Instance Constructors

EmbeddedObjectOverloaded. Initializes a new instance of the EmbeddedObject class.

Public Instance Properties

ContentDescription Sets the Content-Description header for the embedded object.
ContentID The content id of the embedded object. The content id must be unique for all embedded objects.
ContentLocation Can be used in place of ContentID, and is much more friendly when getting the body content of an email from an html file.
Contents The contents of the embedded object. This is populated internally by aspNetEmail and should only be modified by advanced developers.
ContentTransferEncoding The encoding of the embedded object. By default, this value is MailEncoding.Base64 and should only be modified by advanced developers.
ContentType The content type of the embedded object. By default aspNetEmail will attempt to match the ContentType of the object by the file extension.
FilePath The file path to the embedded object.
Name The name of the embedded object. By default, aspNetEmail will attempt to extract the name of the object from the file path.

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.
ToString Converts the EmbeddedObject to it's MimePart representation.

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

EmbeddedObject Class | aspNetEmail Namespace