Sending hebrew mails from PHP to Outlook

Sending hebrew mails from PHP to Outlook

David Ronkin dronkin at gmail.com
Mon Jan 17 15:48:36 IST 2011


Try to use charset=iso-8859-8 instead (it's more correct for hebrew i
think).
David


2011/1/17 shimi <linux-il at shimi.net>

> 2011/1/17 Ori Idan <ori at helicontech.co.il>
>
>> I am sending HTML mail in Hebrew from a server running Ubuntu 10.4 and PHP
>> 5.3.2
>> When sending the mail as UTF-8 with the header set to Content-type:
>> text/html; charset=UTF-8 the mails are read as gibrish.
>> When converting to windows-1255 (and changing the Content-type header) the
>> hebrew received Ok but it is received as plain text (seeing HTML tags)
>> Does anyone have any idea how to solve it? (preferably without changing
>> setup in outlook)
>>
>> Everything works fine when sending to gmail.
>>
>>
>>
> In the HTML (between <head> and </head>), try having also a:
>
> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
>
> tag.
>
> If that didn't help... try sending the message as a multipart MIME message,
> one part with text (text/plain) (strip_tags() to kill the HTML), and the
> other as proper HTML.
>
> I think It should do the trick...
>
> Of course, verify that what you're sending, is, indeed, utf-8. i.e. if it's
> hard coded in some file, that this file is saved encoded as utf-8.
>
> HTH,
>
> -- Shimi
>
>
> _______________________________________________
> Linux-il mailing list
> Linux-il at cs.huji.ac.il
> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
>
>


-- 
בברכה,
דוד רונקין
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.cs.huji.ac.il/pipermail/linux-il/attachments/20110117/259dade0/attachment.html>


More information about the Linux-il mailing list