Project

General

Profile

Actions

Feature #22212

closed

Add proxy for the mail() function

Added by Tolleiv Nietsch about 14 years ago. Updated almost 14 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2010-03-01
Due date:
% Done:

0%

Estimated time:
PHP Version:
5.2
Tags:
Complexity:
Sprint Focus:

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)


Files

sendMail.patch (3.77 KB) sendMail.patch Administrator Admin, 2010-03-01 11:46
sendMail_v2.patch (6.94 KB) sendMail_v2.patch Administrator Admin, 2010-03-05 17:57
13698_tests.diff (3.31 KB) 13698_tests.diff Administrator Admin, 2010-04-13 21:22

Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Feature #22447: When sending mail, use TYPO3_CONF_VAR for default from address if no other address is providedClosedJeff Segars2010-04-14

Actions
Related to TYPO3 Core - Bug #22253: TYPO3's plain mails should use the proper encoding settingsClosed2010-03-08

Actions
Actions

Also available in: Atom PDF