Issue Feature Closed

#22212Add proxy for the mail() function

Tolleiv Nietsch 03/01/10, 11:46 updated 07/02/10, 11:16

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.