Project

General

Profile

Actions

Bug #28374

closed

felogin sends e-mail from "TYPO3 CMS <no-reply@example.com>"

Added by Mathias Bolt Lesniak almost 13 years ago. Updated almost 13 years ago.

Status:
Rejected
Priority:
Should have
Assignee:
-
Category:
felogin
Target version:
-
Start date:
2011-07-21
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.5
PHP Version:
Tags:
Complexity:
easy
Is Regression:
Sprint Focus:

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! :-)

Actions #1

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?

Actions #2

Updated by Chris topher almost 13 years ago

  • Status changed from New to Needs Feedback
Actions #3

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?

Actions #4

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'];
Actions #5

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

Actions

Also available in: Atom PDF