PHPMailer::AddAnAddress
Adds an address to one of the recipient arrays Addresses that have been added already return false, but do not throw exceptions
Signature
protected function AddAnAddress(string
$kind,
string
$address,
[string
$name = ''] )
Parameters
$kind
— string- One of 'to', 'cc', 'bcc', 'ReplyTo'
$address
— string- The email address to send to
$name
— string
Returns
- boolean
- true on success, false if address already used or invalid in some way