GlideEmailOutbound - Scoped
-
- UpdatedJan 30, 2025
- 2 minutes to read
- Yokohama
- API reference
The scoped GlideEmailOutbound API implements the email object for scoped applications. You can use the GlideEmailOutbound methods with the email global object available in mail scripts. The email object behaves identically for global and scoped applications.
GlideEmailOutbound - GlideEmailOutbound()
Instantiates a scoped GlideEmailOutbound object.
Name | Type | Description |
---|---|---|
None |
GlideEmailOutbound - addAddress(String type, String address)
Adds the address to either the cc or bcc list.
Name | Type | Description |
---|---|---|
type | String | Either cc or bcc, determines the list to which the address is added. |
address | String | The recipient's email address. |
Type | Description |
---|---|
void |
Example
GlideEmailOutbound - addAddress(String type, String address, String displayName)
Adds the recipient to either the cc or bcc list, but uses the display name instead of the address when showing the recipient.
Name | Type | Description |
---|---|---|
type | String | Either cc or bcc, determines the list to which the address is added. |
address | String | The recipient's email address. |
displayName | String | The name to be shown instead of the email address. |
Type | Description |
---|---|
void |
Example
GlideEmailOutbound - getSubject()
Returns the email's subject line.
Name | Type | Description |
---|---|---|
None |
Type | Description |
---|---|
String | The email's subject line. |
GlideEmailOutbound - getWatermark()
Returns the email's watermark.
Name | Type | Description |
---|---|---|
None |
Type | Description |
---|---|
String | The email's watermark. |
Example
GlideEmailOutbound - setBody(String bodyText)
Sets the body of the email.
Name | Type | Description |
---|---|---|
bodyText | String | The body of the email. |
Type | Description |
---|---|
void |
Example
GlideEmailOutbound - setFrom(String address)
Sets the sender's address.
Name | Type | Description |
---|---|---|
address | String | The sender's email address. |
Type | Description |
---|---|
void |
Example
GlideEmailOutbound - setReplyTo(String address)
Sets the reply to address.
Name | Type | Description |
---|---|---|
address | String | The reply to email address. |
Type | Description |
---|---|
void |
Example
GlideEmailOutbound - setSubject(String subject)
Sets the email's subject line.
Name | Type | Description |
---|---|---|
subject | String | Text for the subject line. |
Type | Description |
---|---|
void |
Example
On this page
- GlideEmailOutbound - GlideEmailOutbound()
- GlideEmailOutbound - addAddress(String type, String address)
- GlideEmailOutbound - addAddress(String type, String address, String displayName)
- GlideEmailOutbound - getSubject()
- GlideEmailOutbound - getWatermark()
- GlideEmailOutbound - setBody(String bodyText)
- GlideEmailOutbound - setFrom(String address)
- GlideEmailOutbound - setReplyTo(String address)
- GlideEmailOutbound - setSubject(String subject)