Bug #19365
closedMake "t3lib_beUserAuth->notifyHeader" configurable
0%
Description
t3lib_beUserAuth->notifyHeader is hardcoded to 'From: TYPO3 Login notify <no_reply@no_reply.no_reply>' in class.t3lib_beuserauth.php, line 85.
(issue imported from #M9407)
Files
Updated by Chris topher over 14 years ago
Hi Fabrizio,
can you provide a patch?
(Btw: There is a similar call, when there is an Install Tool login. Should be fixable exactly the same way.)
Updated by Fabrizio Branca over 14 years ago
Hi Christopher.
I don't have much time these days, but if this can wait for another couple of days I surely can provide a patch.
Bye,
Fabrizio
Updated by Simon Schick almost 14 years ago
Hi, all
This bug was noticed in September 2008 - now we allmost have 2011.
Can you please apply this patch to the svn-trunk as soon as possible?
I'm looking forward to use this feature and I don't want to wait until it's implemented in TYPO3 v4.6 - I want to use it in TYPO3 v4.5 without xClass.
Updated by Jonas Renggli over 13 years ago
This issue has been fixed in TYPO3 4.5.0 by Ernesto Baschny. The E-Mail at Login is now sent via SwiftMailer
// If An email should be sent to the current user, do that: if ($this->uc['emailMeAtLogin'] && strstr($this->user['email'], '@')) { $from = t3lib_utility_Mail::getSystemFrom(); /** @var $mail t3lib_mail_Message */ $mail = t3lib_div::makeInstance('t3lib_mail_Message'); $mail->setTo($this->user['email']) ->setFrom($from) ->setSubject($subject) ->setBody($msg); $mail->send(); }
Sender can be configured in localconf.php
$GLOBALS['TYPO3_CONF_VARS']['MAIL']['defaultMailFromAddress'] $GLOBALS['TYPO3_CONF_VARS']['MAIL']['defaultMailFromName']
if there's no mail address configured getSystemFromAddress()
in class.t3lib_utility_mail.php
tries to generate a mail-address itself. It takes the domain from the first record found in table sys_domain
and creates a mail address like no-reply@your-domain.com
Updated by Steffen Gebert over 13 years ago
- Status changed from Needs Feedback to Rejected
- Target version deleted (
0)
resolved with 4.5