Swift_Mime_SimpleMessage::setTo
Set the to addresses of this message.
If multiple recipients will receive the message and array should be used. If $name is passed and the first parameter is a string, this name will be associated with the address.
Signature
public function setTo(mixed
$addresses,
[string
$name = null] )
Parameters
$addresses
— mixed$name
— string- optional
Returns
- Swift_Mime_SimpleMessage