#22212Add proxy for the mail() function
Description
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.
At the moment this has to be done by modifying the local sendmail settings – 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.
(issue imported from #M13698)
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.