|
Previous Page |
Solar_Mail_Message |
Next Page |
setFrom()
public
Solar_Mail_Message
setFrom (
string $addr,
string $name default ''
)
Sets the "From:" (sender) 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 "From:" (sender) on this message.
Strips CR/LF from the address and name to help avoid header injections.
Local
- Overview
- Config
- Constants
- Properties
- Methods
- __construct()
- __destruct()
- _boundaryEnd()
- _boundarySep()
- _buildConfig()
- _exception()
- _postConfig()
- _postConstruct()
- _preConfig()
- addBcc()
- addCc()
- addHeader()
- addTo()
- attachFile()
- attachPart()
- dump()
- fetchContent()
- fetchHeaders()
- getCharset()
- getCrlf()
- getEncoding()
- getFrom()
- getHtml()
- getRcpt()
- getReplyTo()
- getReturnPath()
- getSubject()
- getText()
- locale()
- resetRcpt()
- send()
- setCharset()
- setCrlf()
- setEncoding()
- setFrom()
- setHtml()
- setReplyTo()
- setReturnPath()
- setSubject()
- setText()
- setTransport()