Public Member Functions | |
__construct ($address, $name=null, $realName=null) | |
toString () | |
Return formatted and quoted address to insert into SMTP headers. | |
__toString () |
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. http://www.gnu.org/copyleft/gpl.html
Definition at line 30 of file UserMailer.php.
MailAddress::__construct | ( | $ | address, | |
$ | name = null , |
|||
$ | realName = null | |||
) |
$address | Mixed: string with an email address, or a User object | |
$name | String: human-readable name if a string address is given |
Definition at line 35 of file UserMailer.php.
References $name.
MailAddress::__toString | ( | ) |
MailAddress::toString | ( | ) |
Return formatted and quoted address to insert into SMTP headers.
Definition at line 51 of file UserMailer.php.
References $name, $wgEnotifUseRealName, wfIsWindows(), and wfQuotedPrintable().
Referenced by __toString().