You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

addAddress(address, displayName)

This method adds the address to the email list.

Parameter(s):

NameTypeMandatoryDefault Value
addressStringYN
displayNameString | NullN'NULL'


Return:

TypeDescription
VoidThis method does not return a value.


Example:

addAddress
(function runNotificationScript(
    /* SimpleRecord */ current, 
    /* SimpleTemplatePrinter */ template,
    /* SimpleEmailOutbound */ email,
    /* SimpleRecord */ event
    ) {
email.addAddress(“test@example.com”, “example”);
})(current, template, email, event);

addAddressBcc(address, displayName)

This method adds the address to the BCC's emails list.


Parameter(s):

NameTypeMandatoryDefault Value
addressStringYN
displayNameString | NullN'NULL'


Return:

TypeDescription
VoidThis method does not return a value.


Example:

addAddressBcc
(function runNotificationScript(
    /* SimpleRecord */ current, 
    /* SimpleTemplatePrinter */ template,
    /* SimpleEmailOutbound */ email,
    /* SimpleRecord */ event
    ) {
email. addAddressBcc(“test@example.com”, “copy2 example”);
})(current, template, email, event);

addAddressCc(address, displayName)

This method adds the address to the CC's emails list.


Parameter(s):

NameTypeMandatoryDefault Value
addressStringYN
displayNameString | NullN'NULL'


Return:

TypeDescription
VoidThis method does not return a value.


Example:

addAddressCc
(function runNotificationScript(
    /* SimpleRecord */ current, 
    /* SimpleTemplatePrinter */ template,
    /* SimpleEmailOutbound */ email,
    /* SimpleRecord */ event
    ) {
email. addAddressCc(“test@example.com”, “copy example”);
})(current, template, email, event);

getAddresses()

This method gets the recipients' addresses.


Return:

TypeDescription
StringThe string containing the recipient's addresses.


Example:

getAddresses
(function runNotificationScript(
    /* SimpleRecord */ current, 
    /* SimpleTemplatePrinter */ template,
    /* SimpleEmailOutbound */ email,
    /* SimpleRecord */ event
    ) {
email.getAddresses();
})(current, template, email, event);

getAddressesBcc()

This method gets the recipients' BCC addresses.


Return:

TypeDescription
StringThe string containing the recipient's BCC addresses.


Example:

getAddressesBcc
(function runNotificationScript(
    /* SimpleRecord */ current, 
    /* SimpleTemplatePrinter */ template,
    /* SimpleEmailOutbound */ email,
    /* SimpleRecord */ event
    ) {
email.getAddressesBcc();
})(current, template, email, event);

getAddressesCc()

This method gets the recipients' CC addresses.


Return:

TypeDescription
StringThe string containing the recipient's CC addresses.


Example:

getAddressesCc
(function runNotificationScript(
    /* SimpleRecord */ current, 
    /* SimpleTemplatePrinter */ template,
    /* SimpleEmailOutbound */ email,
    /* SimpleRecord */ event
    ) {
email.getAddressesCc();
})(current, template, email, event);

Method description


Parameter(s):

NameTypeMandatoryDefault Value





Return:

TypeDescription



Example:


Method description


Parameter(s):

NameTypeMandatoryDefault Value





Return:

TypeDescription



Example:


Method description


Parameter(s):

NameTypeMandatoryDefault Value





Return:

TypeDescription



Example:


Method description


Parameter(s):

NameTypeMandatoryDefault Value





Return:

TypeDescription



Example:


Method description


Parameter(s):

NameTypeMandatoryDefault Value





Return:

TypeDescription



Example:


Method description


Parameter(s):

NameTypeMandatoryDefault Value





Return:

TypeDescription



Example:


Method description


Parameter(s):

NameTypeMandatoryDefault Value





Return:

TypeDescription



Example:


Method description


Parameter(s):

NameTypeMandatoryDefault Value





Return:

TypeDescription



Example:


Method description


Parameter(s):

NameTypeMandatoryDefault Value





Return:

TypeDescription



Example:


  • No labels