Home » U++ Library support » U++ Widgets - General questions or Mixed problems » UPP app -> Ext EXE (send email) wrong charset
UPP app -> Ext EXE (send email) wrong charset [message #23889] |
Tue, 01 December 2009 12:49 |
alex100
Messages: 118 Registered: November 2007
|
Experienced Member |
|
|
I all
I have a upp app that is using an external exe to send email via google.
I am launching the external exe as follows:
ShellExecute(NULL, "open", "GmailSend.exe", "user1@gmail.com Teste Ola", ".", SW_SHOWDEFAULT);
(it is the email, subject and body)
The email is successfully sent but charset is not correct.
I have source code of the external exe and I see that subject and body are formated using utf8. If I send the mail from windows command line everything is fine but using the upp app
the charset is not correct.
On upp app i put this:
SetDefaultCharset(CHARSET_UTF8);
But it continues to have wrong charset on final email.
How to solve this?
Many thanks
Alex
|
|
|
Goto Forum:
Current Time: Sat Apr 27 10:47:34 CEST 2024
Total time taken to generate the page: 0.06631 seconds
|