EmailDocument Class
Represents an email message.
Inheritance Hierarchy

Namespace: GroupDocs.Watermark.Email
Assembly: GroupDocs.Watermark (in GroupDocs.Watermark.dll) Version: 19.5
Syntax
public class EmailDocument : Document

The EmailDocument type exposes the following members.

Properties
  NameDescription
Public propertyAttachments
Gets the collection of all attachments of the email message.
Public propertyBcc
Gets the collection of BCC (blind carbon copy) recipients of the email message.
Public propertyBody
Gets or sets the plain text representation of the message body.
Public propertyBodyType
Gets the type of the email message body.
Public propertyCc
Gets the collection of CC (carbon copy) recipients of the email message.
Public propertyEmbeddedObjects
Gets the collection of all embedded objects of the email message.
Public propertyFrom
Gets the from address of the email message.
Public propertyHtmlBody
Gets or sets the html representation of the message body.
Public propertyCode exampleSearchableObjects
Gets or sets the document objects that are to be included in a watermark search. Note, this property also specifies document objects which are used in image search. For more information see FindWatermarks, FindWatermarks(SearchCriteria), FindImages and FindImages(ImageSearchCriteria) methods.
(Inherited from Document.)
Public propertySubject
Gets or sets the subject of the email message.
Public propertyTo
Gets the collection of recipients of the email message.
Methods
  NameDescription
Public methodCode exampleAddWatermark
Adds a watermark to this DocumentPart.
(Inherited from DocumentPart.)
Public methodDispose
Disposes the current instance.
(Inherited from Document.)
Protected methodDispose(Boolean)
Disposes the current instance.
(Overrides DocumentDispose(Boolean).)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodCode exampleFindImages
Finds all images in the document. The search is conducted in objects specified in SearchableObjects.
(Inherited from DocumentPart.)
Public methodFindImages(ImageSearchCriteria)
Finds images according to specified search criteria. The search is conducted in objects specified in SearchableObjects.
(Inherited from DocumentPart.)
Public methodFindWatermarks
Finds all possible watermarks in the document. The search is conducted in objects specified in SearchableObjects.
(Inherited from DocumentPart.)
Public methodCode exampleFindWatermarks(SearchCriteria)
Finds possible watermarks according to specified search criteria. The search is conducted in objects specified in SearchableObjects.
(Inherited from DocumentPart.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodSave
Saves the document data to the underlying stream.
(Inherited from Document.)
Public methodSave(Stream)
Saves the document to the specified stream.
(Inherited from Document.)
Public methodSave(String)
Saves the document to the specified file location.
(Inherited from Document.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
See Also