Recipients can be added in three ways:
addTo(): Adds a recipient to the mail with a "To" headeraddCc(): Adds a recipient to the mail with a "Cc" headeraddBcc(): Adds a recipient to the mail not visible in the header
getRecipients() serves list of the recipients.
clearRecipients() clears the list.
![]() |
Additional parameter |
|---|---|
|
![]() |
Optional Usage |
|---|---|
All three of these methods can also accept an array of email addresses
to add instead of one at a time. In the case of |
![[Note]](../images/note.png)