[TYPO3-commerce] Problem with Clients mail and Admin mails

Georg Schönweger georg.schoenweger at gmail.com
Tue Mar 22 18:18:56 CET 2011


Hi Dimitri,

t3lib_htmlmail is using t3lib_utility_mail::Mail(), so setting
$TYPO3_CONF_VARS['MAIL']['substituteOldMailAPI'] = '0';
affects also the output of mails from commerce extension.

Atleast with above solution it is working here with Typo3 4.5

- Georg

Am 22.03.2011 18:02, schrieb Dimitri Kšoenig:
> Hi Georg
>
> commerce_div:sendMail is the function used in commerce_pi3 to send
> user and admin mails. it uses an instance of t3lib_htmlmail so that
> won't work. Do you have any other solutions?
>
> Cheers
> Dimitri
>
> Georg Schönweger schrieb:
>> Hi Siddesh,
>>
>> You have to disable "substituteOldMailAPI" in typo3conf.php with
>> $TYPO3_CONF_VARS['MAIL']['substituteOldMailAPI'] = '0';
>> or via the InstallTool.
>> Helptext for this option:
>> "If this is set, old calls to t3lib_utility_mail::Mail() will be
>> translated to new t3lib_mail calls. This should work on most cases and
>> thus respect the above transport settings. If you get garbled emails (or
>> no attachments), consider setting this off. Ask the extension author to
>> upgrade their code to make use of t3lib_mail (instead of the deprecated
>> t3lib_htmlmail)."
>>
>> - Georg
>>
>>
> _______________________________________________
> TYPO3-project-commerce mailing list
> TYPO3-project-commerce at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-commerce


More information about the TYPO3-project-commerce mailing list