Interface Email

All Known Implementing Classes:
SFSEmail

public interface Email
  • Method Details

    • getFromAddress

      String getFromAddress()
      Get the From address, which represents the sender of the email
      Returns:
      get the sender's email address
    • getToAddress

      String getToAddress()
      Get the recipient(s) of the email. You can specify either one email address or a list of comma separated email addresses. Make sure to only use commas for separating the addresses but no blank spaces.
      Returns:
      the recipient(s) of the email
    • getSubject

      String getSubject()
      Get the subject of the email
      Returns:
      the subject of the email
    • getMessage

      String getMessage()
      Get the message of the email. The message can be plain text or valid HTML
      Returns:
      the message of the email
    • getPriority

      int getPriority()
      Get the priority of the email. Values from 1 to 5 represent different priority levels in increasing order. If no priority is specified, no priority attribute is added to the email header.
      Returns:
      the priority of the email.