mail\MessageInterface setTo()

setTo() public abstract method

Sets the message recipient(s).

public abstract $this setTo ( $to )
$to string|array

Receiver email address. You may pass an array of addresses if multiple recipients should receive this message. You may also specify receiver name in addition to email address using format: [email => name].

return $this

Self reference.

doc_Yii
2016-10-30 17:07:16
Comments
Leave a Comment

Please login to continue.