Re: Sending E-mail with Internation Characters
| From: | Moriyoshi Koizumi | Date: | Wed, 10 Sep 2003 14:59:55 +0000 |
| Subject: | Re: Sending E-mail with Internation Characters | ||
| References: | 1 | Groups: | php.i18n |
| Request: | Send a blank email to php-i18n+get-614@lists.php.net to get a copy of this message | ||
"Muhammed Mamedov" <mm@ytm.com.tr> wrote:
> Hi everybody!
>
> I need to send e-mail from PHP, I send them using mail(...);, which can be
> written in several languages. In Greek or Turkish for example...
>
> How do I manage to do this? ... I tried sending them using Unicode format,
> but in Outlook characters were not displayed correctly.
Most likely you haven't put correct headers such as Content-Type.
ex. Content-Type: text/plain; charset=UTF-8
When you send emails that is written in other charsets than
ASCII, the header should be specified at the third parameter of mail().
Moriyoshi