NetTalk Central
NetTalk E-Mail => E-Mail - Ask For Help => Topic started by: Alberto on May 08, 2009, 02:50:19 AM
-
Hi,
I´m sendig mails from my site the way the example like:
loc:result = SendEmail('server smtp',25,'from',USU:EMAIL,p_web.Translate('Global Medic Registration'),'','','',......
All is ok but... when I translate to spanish the word _Registración_ appears in the arrived email as _Registracisn_ changing the ó by an s.
This happens only in the _Subject_, the same translation looks ok in the HTML body.
How can I solve it?
Thanks
Alberto
-
Hallo Alberto,
Did you set the default non-unicode language to Spanish ? I solve this
problem after I set the default language for non-unicode to Romanian.
Control Panel > Regional and Language Options > Advanced > here select the
language.
In my case solved the problem. I don't think it's a problem from NT.
Regards,
Robert Iliuta
-
Mhhh, may be, the problem is this is used in a web server, there are users
of many languages, the Subject is translated in runtime.
I cant change the server regional language each time an email is sent.
Thanks
-
Sean Says:
NetTalk allows you to specify the encoding that you are using to send mails
in. The default is 'us-ascii', but you can also use 'iso-8859-1' or 'utf-8'.
You can set both the character set and the text encoding used. For example
you can use 'utf-8' as the character set and 'quoted-printable' as the text
encoding to allow any character sets to be sent, and just setting the
character set to 'iso-8859-1' may work in your case.
Roberto Says:
in you sendemail window inside the -Control Events/?EmailSend/Accepted
embed after generated code, just add the following line
ThisSendEmail.OptionsMimeTextCharset = 'iso-8859-1'
That should let you work in any characterset
-
This doesn't apply to the Subject line, which doesn't support character sets outside of ASCII. There is a workaround in later versions of the SMTP specification for this that provides multiple encodings within the Subject, however it is not currently supported by NetTalk.
-
I´m having a problem with the subject line.
I´m sending the same mail to a hotmail account and my own account:
alberto-michelis@hotmal.com ; info@armi.com.ar
In the subject line of the received email of the hotmail account I get the right character
Registración
In the subject line of the received email of the armi.com.ar account I get no character
Registracin
Any way to fix this?
Thanks
-
sounds like an issue with the received, not the sender...
cheers
Bruce