Interface Email

  • All Known Implementing Classes:
    SFSEmail

    public interface Email
    • Method Detail

      • getFromAddress

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

        java.lang.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 addreses but no blank spaces.
        Returns:
        the recipient(s) of the email
      • getSubject

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

        java.lang.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.