Package com.smartfoxserver.v2.entities
Interface Email
-
- All Known Implementing Classes:
SFSEmail
public interface Email
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getFromAddress()
Get the From address, which represents the sender of the emailjava.lang.String
getMessage()
Get the message of the email.int
getPriority()
Get the priority of the email.java.lang.String
getSubject()
Get the subject of the emailjava.lang.String
getToAddress()
Get the recipient(s) of the 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.
-
-