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

Dimitri Kšoenig dk at cabag.ch
Wed Mar 23 10:03:09 CET 2011


Hi Georg

I've tried it again and now it works. Don't ask me why. And yes, i've 
deleted all the caches :-)

BTW: Is anyone working on fixing this bug properly?

Cheers
Dimitri

Georg Schönweger schrieb:
> 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