Follow-up to #17198: Fixed SYS > MAIL
authorErnesto Baschny <ernst@cron-it.de>
Fri, 21 Jan 2011 17:13:10 +0000 (17:13 +0000)
committerErnesto Baschny <ernst@cron-it.de>
Fri, 21 Jan 2011 17:13:10 +0000 (17:13 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@10218 709f56b5-9817-0410-a4d7-c38de5d9e867

t3lib/utility/class.t3lib_utility_mail.php

index 525b586..9d245c6 100644 (file)
@@ -61,9 +61,9 @@ final class t3lib_utility_Mail {
                        }
                        if ($GLOBALS['TYPO3_CONF_VARS']['MAIL']['defaultMailFromName']) {
                                $additionalHeaders .= 'From: "' . $GLOBALS['TYPO3_CONF_VARS']['MAIL']['defaultMailFromName'] 
-                                               . '" <' . $GLOBALS['TYPO3_CONF_VARS']['SYS']['defaultMailFromAddress'] . '>';
+                                               . '" <' . $GLOBALS['TYPO3_CONF_VARS']['MAIL']['defaultMailFromAddress'] . '>';
                        } else {
-                               $additionalHeaders .= 'From: ' . $GLOBALS['TYPO3_CONF_VARS']['SYS']['defaultMailFromAddress'];
+                               $additionalHeaders .= 'From: ' . $GLOBALS['TYPO3_CONF_VARS']['MAIL']['defaultMailFromAddress'];
                        }
                }