Interface EmailMessage

All Superinterfaces:
Serializable
All Known Implementing Classes:
EmailMessageImpl, SubethaEmailMessage

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

    • getFrom

      String getFrom()
      Returns:
      FROM address.
    • getTo

      String getTo()
      Returns:
      TO address.
    • getCC

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

      Date getSentDate()
      Returns:
      sent date.
    • getSubject

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

      EmailMessagePart getBody()
      Returns:
      part of the mail body.
    • getAttachments

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