Project

General

Profile

Actions

Bug #19365

closed

Make "t3lib_beUserAuth->notifyHeader" configurable

Added by Fabrizio Branca about 16 years ago. Updated over 13 years ago.

Status:
Rejected
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2008-09-22
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.2
PHP Version:
4.3
Tags:
Complexity:
Is Regression:
Sprint Focus:

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

bug_9407_4-3.diff (2.75 KB) bug_9407_4-3.diff Administrator Admin, 2010-10-01 10:15
bug_9407_4-4.diff (2.64 KB) bug_9407_4-4.diff Administrator Admin, 2010-10-01 10:15
bug_9407_trunk.diff (3.12 KB) bug_9407_trunk.diff Administrator Admin, 2010-10-01 10:15
T3X_user_beuser_fix9407-0_0_0-z-201012271027.t3x (1.08 KB) T3X_user_beuser_fix9407-0_0_0-z-201012271027.t3x Administrator Admin, 2010-12-27 10:27

Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Bug #22129: Non-RFC-conformant email adressesRejected2010-02-17

Actions
Related to TYPO3 Core - Bug #24599: Use Swift Mailer in core (t3lib_mail_*) and deprecate t3lib_htmlmail and related settingsClosedErnesto Baschny2011-01-16

Actions
Actions #1

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.)

Actions #2

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

Actions #3

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.

Actions #4

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

Actions #5

Updated by Steffen Gebert over 13 years ago

  • Status changed from Needs Feedback to Rejected
  • Target version deleted (0)

resolved with 4.5

Actions

Also available in: Atom PDF