[TYPO3-core] RFC: #13698: Add proxy for the mail() function
Martin Kutschker
masi-no at spam-typo3.org
Tue Apr 13 09:15:23 CEST 2010
Dmitry Dulepov schrieb:
> Hi!
>
> Tolleiv.Nietsch wrote:
>> Solution:
>> The attached patch proposes a way which enables to hook into the
>> relevant part right before the mail() command is triggered. This happens
>> with a proxy function which is added to the t3lib_div class and which
>> shares the API with the normal PHP mail().
>
> Cannot this code be added to t3lib_div::plainMailEncoded()? What's the point to add a new function? It only complicates stuff.
I would rather get rid of t3lib_div::plainMailEncoded(). There should be only one function that
sends the mail, but there can be more than one that composes the mail.
Masi
More information about the TYPO3-team-core
mailing list