[TYPO3-core] RFC: #13698: Add proxy for the mail() function
Tolleiv.Nietsch
info at tolleiv.de
Sun Apr 11 17:09:53 CEST 2010
This is an SVN patch request.
Type: Bugfix
Bugtracker references:
http://bugs.typo3.org/view.php?id=13698
Branches:
trunk
Problem:
Currently there's no way to avoid that a installation is sending out
mails. This is very unhandy in development situations where you want to
check whether a system is sending mails without bothering clients with
useless mail notifications.
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().
Cheers,
Tolleiv
--
Tolleiv Nietsch
www.tolleiv.de - www.aoemedia.de
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: sendMail_v2.patch
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100411/d5fadf45/attachment.asc>
More information about the TYPO3-team-core
mailing list