com.groupdocs.watermark

Interfaces

Classes

Exceptions

com.groupdocs.watermark

Class EmailDocument

  • All Implemented Interfaces:
    com.aspose.ms.System.IDisposable, Closeable, AutoCloseable


    public class EmailDocument
    extends Document

    Represents an email message.

    • Method Detail

      • getAttachments

        public final EmailAttachmentCollection getAttachments()

        Gets the collection of all attachments of the email message.

        Returns:
        The collection of all attachments of the email message.
      • getEmbeddedObjects

        public final EmailEmbeddedObjectCollection getEmbeddedObjects()

        Gets the collection of all embedded objects of the email message.

        Returns:
        The collection of all embedded objects of the email message.
      • getFrom

        public final EmailAddress getFrom()

        Gets the from address of the email message.

        Returns:
        The from address of the email message.
      • getTo

        public final EmailAddressCollection getTo()

        Gets the collection of recipients of the email message.

        Returns:
        The collection of recipients of the email message.
      • getCc

        public final EmailAddressCollection getCc()

        Gets the collection of CC (carbon copy) recipients of the email message.

        Returns:
        The collection of CC (carbon copy) recipients of the email message.
      • getBcc

        public final EmailAddressCollection getBcc()

        Gets the collection of BCC (blind carbon copy) recipients of the email message.

        Returns:
        The collection of BCC (blind carbon copy) recipients of the email message.
      • getSubject

        public final String getSubject()

        Gets the subject of the email message.

        Returns:
        The subject of the email message.
      • setSubject

        public final void setSubject(String value)

        Sets the subject of the email message.

        Parameters:
        value - The subject of the email message.
      • getBody

        public final String getBody()

        Gets the plain text representation of the message body.

        Returns:
        The plain text representation of the message body.
      • setBody

        public final void setBody(String value)

        Sets the plain text representation of the message body.

        Parameters:
        value - The plain text representation of the message body.
      • getHtmlBody

        public final String getHtmlBody()

        Gets the html representation of the message body.

        Returns:
        The html representation of the message body.
      • setHtmlBody

        public final void setHtmlBody(String value)

        Sets the html representation of the message body.

        Parameters:
        value - The html representation of the message body.
      • getBodyType

        public final int getBodyType()

        Gets the type of the email message body.

        Returns:
        The type of the email message body.
      • dispose

        protected void dispose(boolean disposing)

        Disposes the current instance.

        Overrides:
        dispose in class Document
        Parameters:
        disposing - True to release both managed and unmanaged resources; false to release only unmanaged resources.