|
|
| |
1. Arabic html mail problem |
|
Reply |
|
|
| |
2. Re: Arabic html mail problem |
|
Reply |
|
|
 Manuel Lemos | 2011-08-04 02:54:47 - In reply to message 1 from FREDJ A .J |
| If you are using Arabic text, you need to set the message encoding according to character set you are using. You probably just need to set the default_charset variable to utf-8 or whatever character set you text uses. |
| |
3. Re: Arabic html mail problem |
|
Reply |
|
|
 FREDJ A .J | 2011-08-04 03:13:38 - In reply to message 2 from Manuel Lemos |
Thank you Manuel, already done "utf-8" works just fine, but the problem is that the mail subject still unreadable,
NB: when i use '=?UTF-8?B?' . base64_encode($subject) . '?='
works but is there another way?
Thanks Again. |
| |
4. Re: Arabic html mail problem |
|
Reply |
|
|
 Manuel Lemos | 2011-08-04 03:57:33 - In reply to message 3 from FREDJ A .J |
| You should not encode the header values yourself. The class does that for you. Just pass it the header values with Arabic text using SetEncodedHeader or SetEncodedEmailHeader. |
| |
5. Re: Arabic html mail problem |
|
Reply |
|
|
 FREDJ A .J | 2011-08-04 04:35:38 - In reply to message 4 from Manuel Lemos |
i don't understand?
SetEncodedHeader("Subject", $subject);
SetEncodedHeader("Subject", $subject, $encoding_charset = 'UTF-8') |
| |
6. Re: Arabic html mail problem |
|
Reply |
|
|
 Manuel Lemos | 2011-08-04 04:47:12 - In reply to message 5 from FREDJ A .J |
| Yes, either way it is fine. If you specify the encoding_charset parameter, it will override the value set in the class variable default_charset, so it is not necessary to specify that parameter. |
| |
7. Re: Arabic html mail problem |
|
Reply |
|
|
 FREDJ A .J | 2011-08-04 05:10:11 - In reply to message 6 from Manuel Lemos |
| i really appreciate your help, but the same problem, none of them work! |
| |
8. Re: Arabic html mail problem |
|
Reply |
|
|
| |
9. Re: Arabic html mail problem |
|
Reply |
|
|
 FREDJ A .J | 2011-08-04 18:49:44 - In reply to message 8 from Manuel Lemos |
| body work, but not subject!! |
| |
10. Re: Arabic html mail problem |
|
Reply |
|
|
 FREDJ A .J | 2011-08-04 18:50:31 - In reply to message 8 from Manuel Lemos |
| body work, but not subject!! |
|