M2 GB2312 using Task scheduler send ( Simplify Chinese )
-
emc last edited by
Hello,
I have template working perfectly fine ( but only in English )
Now that I create a Simplify Chinese but subject & body appearing symbols only.Here is what I used to use for English email :
-f myself@gmail.com -t someone@gmail.com -u subject Blah Blah -m message body Blah Blah -a ( attaching an attachment ) -s smtp.gmail.com:587 -xu myself@gmail.com -xp gmailpassword12345 -o tls=yes
I've google many but no help....................
$mail->CharSet= 'GB2312' $subject->CharSet = 'GB2312'
$mail->CharSet = 'utf-8'
....etc.Thank you very much.
edmond -
emc last edited by
@burnout426
ThanksssssssssssssssReturn-Path: myemail@gmail.com
Received: from dell-all-in-one (1-36-92-126.static.netvigator.com. [1.36.xx.xxx])
by smtp.gmail.com with ESMTPSA id axxsmxxxxxxxxfn.1.2019.07.17.21.12.36
for anothotheremail@gmail.com
(version=TLS1 cipher=AES128-SHA bits=128/128);
Wed, 17 Jul 2019 21:12:37 -0700 (PDT)
Message-ID: 44036.865234375-sendEmail@dell-all-in-one
From: "myemail@gmail.com" myemail@gmail.com
To: "another@gmail.com" another@gmail.com
Subject: 矗?谔?
Date: Thu, 18 Jul 2019 04:12:33 +0000
X-Mailer: sendEmail-1.56
MIME-Version: 1.0
Content-Type: multipart/related; boundary="----MIME delimiter for sendEmail-585998.53515625"------MIME delimiter for sendEmail-585998.53515625
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit.------MIME delimiter for sendEmail-585998.53515625--
-
burnout426 Volunteer last edited by burnout426
The body has the wrong charset defined. It should be utf-8 or GB2312 and encoded for the one used.
For the subject, you can try to turn on 8bit headers in accounts.ini. However, the subject should really be properly-encoded. Example:
Subject: =?utf-8?B?4oia?=
-
emc last edited by emc
-f xxx@gmail.com -t xxx@gmail.com -u 64bit Opera session -m . -a opera.win -s smtp.gmail.com:587 -xu xxx@gmail.com -xp password123 -o tls=yes
((( also how to add cc:'ed ? ))) thankssss !
-
burnout426 Volunteer last edited by
Just looks like a problem with sendmail not properly encoding the body and subject.
-
A Former User last edited by A Former User
What's your 'Language for non-Unicode programs' set to? If you don't set it to 'Chinese (Simplified, China)', some programs will display broken characters. See this page for more information.
Try
-cc
for cc. -
emc last edited by
@xin said in M2 GB2312 using Task scheduler send ( Simplify Chinese ):
What's your 'Language for non-Unicode programs' set to? If you don't set it to 'Chinese (Simplified, China)', some programs will display broken characters. See this page for more information.
Try
-cc
for cc.Thank you Xin and is very helpful information indeed !!!!
Your hints now lead me to start installing a separate USB Opera with Simplify Chinese as I am not wanting to touch the core Unicode in the Window system.
Thank you very much once again.
edmond -
A Former User last edited by
No problem. Also remember to add the
-o message-charset=gb2312
argument to fix the wrongly defined character set in the email header.