Forums / Developer / German umlaut problem in mail
Shoaib Bagdadi
Monday 27 September 2010 6:42:48 am
I have a problem with umlauts that I receive in my email. They are missing. What could be the problem ? My file is utf-without bom. The extension reads a template(tpl) file which is saved in utf-without bom and sends email. The umlauts that someone types in textarea are not coming in email.
Thanks for your help in advance
Christian Rößler
Monday 27 September 2010 10:32:33 am
Hy,
your extension might have to set the character encoding for your mail, so the mail library is capable of encoding the subject and mail body correctly.
If you are using ezComponents within your extension to create and send emails, take a look here: http://ezcomponents.org/docs/tutorials/Mail#character-encoding
Standard ezPublish extensions and the build in mail library (eZP...Mail...something) is able to send german umlauts without any modifications. So here the problem might exist somewhere else.
Let us know,
Chris
Hannover, Germany eZ-Certified http://auth.ez.no/certification/verify/395613
Saturday 09 October 2010 7:28:50 am
Thanks