Previous Page
setHtml()

Solar_Mail_Message
setReplyTo()

Next Page
setReturnPath()

setReplyTo()

public Solar_Mail_Message setReplyTo ( string $addr, string $name default '' )

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.