[TYPO3-english] Change sender in Form tt_content

Jigal van Hemert jigal at xs4all.nl
Thu Mar 31 11:40:25 CEST 2011


Hi,

On 30-3-2011 19:49, Styrmir Magnússon wrote:
> How can I change the email sender of the mailform included with TYPO3 now
> it is apache at mymail.com

The sender is extracted from the form fields named "from_email" or 
"email" (in that order).

If that fails TYPO3 4.5 tries to get a from address from the system. It 
tries:

- ['MAIL']['defaultMailFromAddress'] (install tool)
- the first domain record: no-reply@<domain>
- the host name of the server: no-reply@<domain>
- 'no-reply at example.com'

Earlier versions of TYPO3 just leave it to the PHP mail() command to 
figure something out. Often this is passed to mail tools like sendmail 
which will put some kind of from address derived from the user which 
runs apache and the server name (or something similar).

-- 
Kind regards / met vriendelijke groet,

Jigal van Hemert.


More information about the TYPO3-english mailing list