MediaWiki
REL1_19
|
Stores a single person's name and email address. More...
Public Member Functions | |
__construct ($address, $name=null, $realName=null) | |
__toString () | |
toString () | |
Return formatted and quoted address to insert into SMTP headers. |
Stores a single person's name and email address.
These are passed in via the constructor, and will be returned in SMTP header format when requested.
Definition at line 32 of file UserMailer.php.
MailAddress::__construct | ( | $ | address, |
$ | name = null , |
||
$ | realName = null |
||
) |
$address | string|User string with an email address, or a User object |
$name | String: human-readable name if a string address is given |
$realName | String: human-readable real name if a string address is given |
Definition at line 38 of file UserMailer.php.
Definition at line 75 of file UserMailer.php.
References toString().
Return formatted and quoted address to insert into SMTP headers.
Definition at line 54 of file UserMailer.php.
References $wgEnotifUseRealName, UserMailer\quotedPrintable(), and wfIsWindows().
Referenced by __toString().