Bug #28374
closedfelogin sends e-mail from "TYPO3 CMS <no-reply@example.com>"
0%
Description
Hi!
Is this really a bug, or can I configure this somewhere obscure?
felogin is sending password reset e-mails with Swiftmailer's default "From" address in my TYPO3 installation (v4.5.3).
Thanks for your help!
Keep up the good work! :-)
Updated by Mario Rimann almost 13 years ago
As far as I see in the code, this is already there and should be configurable via Typoscript:
plugin.tx_felogin_pi1 { email_from = email_fromName = replyTo = }
Can you check if that works for you?
Or is this request just about adding these three options to the flexform so they can be configured in the plugin configuration?
Updated by Chris topher almost 13 years ago
- Status changed from New to Needs Feedback
Updated by Steffen Gebert almost 13 years ago
There's also TYPO3_CONF_VARS[MAIL][defaultMailFromAddress]
and defaultMailFromName
. Are they taken into account there? Does the way described by Mario work for you?
Updated by Mathias Bolt Lesniak almost 13 years ago
Hi!
Thank you for the help!
Both suggestions work! :-D
PS! It would probably be good if the TYPO3_CONF_VARS and Swiftmailer default to something like:
$TYPO3_CONF_VARS['MAIL']['defaultMailFromAddress'] = 'no-reply@' . $_SERVER['SERVER_NAME'];$TYPO3_CONF_VARS['MAIL']['defaultMailFromName'] = $TYPO3_CONF_VARS['SYS']['sitename'];
Updated by Steffen Gebert almost 13 years ago
- Status changed from Needs Feedback to Rejected
Fine, thanks for the fast feedback!
If those values are not set, something very similar to your suggestion is used. There have been lots of discussions, what would fit best, back then when introducing it, so I guess the current solution (which I don't have exactly in mind ATM) is pretty much the best possible ;)
Steffen