Re: E-mails with mail() as UTF-8

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Possibly the relay server can not send messages in the UTF-8 format so it
has to convert the message.

Try to install a local mail server on your pc smtp server in IIS on Windows
or Postfix in linux and then try use your local server to delivery the mail
rather than the isp's mail server

"Kimmo Alm" <kimmo.alm@xxxxxxxxxxxx> wrote in message
news:opsj7qtrxpa50m3u@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
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 when
they arrive (they go through my ISP's relay e-mail server).

My headers basically look like this: "From: Test
<robot@xxxxxxxxxxx>\nMIME-Version: 1.0\nContent-Type: text/plain;
charset=UTF-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?

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux