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
- One of 'to', 'cc', 'bcc', 'ReplyTo'
-
$address
- The email address to send to
-
$name
Returns
- boolean
- true on success, false if address already used or invalid in some way