You are here: E-mails with mail() as UTF-8 « PHP « IT news, forums, messages
E-mails with mail() as UTF-8

Posted by Kimmo Alm on 01/07/05 05:33

Hey again!

I'm having major trouble using mail() to deliver UTF-8 e-mails.

They get sent and delivered successfully, but seem to be... messed up wh=
en =

they arrive (they go through my ISP's relay e-mail server).

My headers basically look like this: "From: Test =

<robot@example.com>\nMIME-Version: 1.0\nContent-Type: text/plain; =

charset=3DUTF-8\n".

I want to be able to use UTF-8 chars both in the subject and the body.

When I check the letters in my e-mail client (Opera's built-in one -- M2=
), =

it shows "UTF-16". Also, the headers look different than from the ones I=
=

send.

Is the relay server altering my letters? What the hell is happening?

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация