Feature #22447

When sending mail, use TYPO3_CONF_VAR for default from address if no other address is provided

Added by Jeff Segars about 10 years ago. Updated over 9 years ago.

Should have
Target version:
Start date:
Due date:
% Done:


PHP Version:
Sprint Focus:


It's often useful to set a default email from address for TYPO3 rather than relying on the server's configuration, especially in shared hosting environments where it cannot be configured.

Now that we have t3lib_utility_mail, there's a central location for mail sending and we can modify the mail headers to use this default address if a from address has not already been specified.

(issue imported from #M14098)

14098.diff View (3.56 KB) Administrator Admin, 2010-04-14 00:27

14098_v4.diff View (4.07 KB) Administrator Admin, 2011-01-20 19:02

Related issues

Related to TYPO3 Core - Bug #19243: plainMailEncoded should have an additonal param for additional_parameters Closed 2008-08-21
Related to TYPO3 Core - Feature #17154: Suggesting TS configurable Return-Path, from_mail and from_name for mailforms Closed 2007-03-26
Related to TYPO3 Core - Feature #22212: Add proxy for the mail() function Closed 2010-03-01
Related to TYPO3 Core - Bug #22129: Non-RFC-conformant email adresses Rejected 2010-02-17
Related to TYPO3 Core - Bug #24710: Introduce setting "defaultMailFromName" and move defaultMailFromAddress to [MAIL] section Closed 2011-01-21


#1 Updated by Ralf Hettinger about 10 years ago

Is related to #19243.
Imo there should be a default setting for the Return-Path as well.

#2 Updated by Ingo Renner over 9 years ago

committed to trunk (4.5) in r10167

Also available in: Atom PDF