Interface EmailMessage

  • All Superinterfaces:
    java.io.Serializable
    All Known Implementing Classes:
    EmailMessageImpl, SubethaEmailMessage

    public interface EmailMessage
    extends java.io.Serializable
    Interface to process email messages.
    Since:
    2.2
    Author:
    maxim
    • Method Detail

      • getFrom

        java.lang.String getFrom()
        Returns:
        FROM address.
      • getTo

        java.lang.String getTo()
        Returns:
        TO address.
      • getCC

        java.util.List<java.lang.String> getCC()
        Returns:
        CC addresses.
      • getSentDate

        java.util.Date getSentDate()
        Returns:
        sent date.
      • getSubject

        java.lang.String getSubject()
        Get the subject of the message
        Returns:
        subject of the message or null if there is no subject.
      • getAttachments

        EmailMessagePart[] getAttachments()
        Returns:
        parts of the mail attachments.