Solar_Mail_Message::setReplyTo()

public Solar_Mail_Message Solar_Mail_Message::setReplyTo ( string $addr , string $name = '' )

Sets the "Reply-To:" on this message.

Parameters

  • (string) $addr: The email address of the sender.

  • (string) $name: The display-name for the sender, if any.

Returns

  • (Solar_Mail_Message) This object.

Description

Sets the "Reply-To:" on this message.

Strips CR/LF from the address and name to help avoid header injections.



Local