Page MenuHomePhabricator

UserMailer() function revision to allow for parameters in the form "name (..) <emailaddress>"
Closed, ResolvedPublic

Description

UserMailer() function revision to allow for parameters in the form "name (..)
<emailaddress>"

Currently, the function UserMailer() does only allow to pass parameters of the
form "emailaddress" but not "name (..) <emailaddress>.

The reasons are i.a. a mal-function of the used php mail() function, when a
fully quoted-Printable string qp("name (..) <emailaddress>") is passed to php
mail() function, where it appears to work only with "qp("names (..)")
<emailaddress>".

I propose and will change UserMailer() accordingly to fit both requirements, the
old form (address only) and the "name <emailaddress>" form by using the
wfQuotedPrintable() function for those partial strings which need this.

UserMailer can then be used as the one and only emailer (for Special:emailuser,
"I forgot my password" and of course, Enotif).


Version: 1.5.x
Severity: normal

Details

Reference
bz907

Related Objects

View Standalone Graph
This task is connected to more than 200 other tasks. Only direct parents and subtasks are shown here. Use View Standalone Graph to show more of the graph.

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 7:02 PM
bzimport set Reference to bz907.