how to change coding in sendOrderToClient

lokomot

No avatar

2009-03-02 01:18

could anyone help me please how to change coding of outcoming email to utf-8?
I´m usin´ "sendOrderToClient_v0.6.zip" and there I have problem with correct email displaying at customers side.

thanks

» Quick.Cart v3.x

beholder

Avatar: beholder

2009-03-02 01:47

try changing following line in core/common.php:
if( @mail( $sTargetEmail, $sTopic, $sMailContent, 'From: '.$sSender ) ){

to:
if( @mail( $sTargetEmail, $sTopic, $sMailContent, 'From: '.$sSender.'\nContent-Type: text/plain; charset=UTF-8; format=flowed' ) ){

let us know if this worked.

lokomot

No avatar

2009-03-02 02:08

i tried it man, but unfortunately it do nothing with my problem:/ ...but thx for tryin´ help

Belarus

No avatar

2009-03-02 02:48

Got the same problem, when I used the code given above, the email says:

UNEXPECTED_DATA_AFTER_ADDRESS@.SYNTAX-ERROR.

Belarus

Belarus

No avatar

2009-03-02 03:12

Yeah, finally it worked the way described here:

http://opensolution.org/Quick.Cart/forum/?p=readTopic&nr=5422

Belarus

lokomot

No avatar

2009-03-04 00:59

in that link is good help.thanks!
But it helped me only with coding in mail to <b>admin</b>
.. If anyone else can help me, then please do it:) I need - emails to clients in utf-8 - i have big problems with coding..:/

Back to top
about us | contact