33.7. Adding Recipients

Recipients can be added in three ways:

getRecipients() serves list of the recipients. clearRecipients() clears the list.

[Note] Additional parameter

addTo() and addCc() accept a second optional parameter that is used as a human-readable name of the recipient for the header. Double quotation is changed to single quotation and angle brackets to square brackets in the parameter.