Scoped GlideEmailOutbound - addAddress( String type, String address)

Adds the address to either the cc or bcc list.

Table 1. Parameters
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.
Table 2. Returns
Type Description
void

email.addAddress('cc', 'joe.employee@something.com');