Inherits ScriptObject.
Public Member Functions | |
| Mail () | |
| addRecipient (String email) | |
| addRecipient2 (String email, String name) | |
| addCCRecipient (String email) | |
| addCCRecipient2 (String email, String name) | |
| addBCCRecipient (String email) | |
| addBCCRecipient2 (String email, String name) | |
| String | getBody () |
| setBody (String body) | |
| String | getSubject () |
| setSubject (String subject) | |
| String | getSenderName () |
| setSenderName (String senderName) | |
| String | getSenderEmail () |
| setSenderEmail (String senderEmail) | |
| String | getReplyTo () |
| setReplyTo (String replyTo) | |
Mail.
Security: Requires security level 0.
| ( | ) |
Constructs a new mail interface.
| addBCCRecipient | ( | String | ) |
Adds a BCC recipient.
| The mail address. |
Adds a BCC recipient.
| The mail address. | |
| name | The name of the recipient. Can be empty string. |
| addCCRecipient | ( | String | ) |
Adds a CC recipient.
| The mail address. |
Adds a CC recipient.
| The mail address. | |
| name | The name of the recipient. Can be empty string. |
| addRecipient | ( | String | ) |
Adds a recipient.
| The mail address. |
Adds a recipient.
| The mail address. | |
| name | The name of the recipient. Can be empty string. |
| String getBody | ( | ) |
Returns the body.
| String getReplyTo | ( | ) |
Returns the reply to address.
| String getSenderEmail | ( | ) |
Returns the sender mail address.
| String getSenderName | ( | ) |
Returns the sender.
| String getSubject | ( | ) |
Returns the subject.
| setBody | ( | String | body | ) |
Sets the body.
| setReplyTo | ( | String | replyTo | ) |
Sets the reply to address.
| setSenderEmail | ( | String | senderEmail | ) |
Sets the sender mail address.
| setSenderName | ( | String | senderName | ) |
Sets the sender.
| setSubject | ( | String | subject | ) |
Sets the subject.