Swift_Mime_Message::setTo
Set the To address(es).
Recipients set in this field will receive a copy of this message. This method has the same synopsis as and . If the second parameter is provided and the first is a string, then $name is associated with the address.
Signature
public function setTo(mixed
$addresses,
[string
$name = null] )
Parameters
$addresses
— mixed$name
— string- optional