![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Programmer
Join Date: Apr 2008
Posts: 43
Rep Power: 0
![]() |
I confess that I posted my question in PHP section for several days and since I did not find any solutions or hints I am asking it here. Maybe solution is not in PHP.
I want to make a script that sends Unicode emails (not mass emails-may God hit them all by lightning). The text of message is not in English. Right now when I get the test emails they look like Ùولکس واگÙ* 1962 Any ideas as how to go about it? Thanks in advance L1
__________________
^c^ |
|
|
|
|
|
#2 |
|
Professional Programmer
Join Date: Mar 2005
Location: Glasgow, Scotland
Posts: 314
Rep Power: 4
![]() |
Re: Unicode email
Hmm, not sure if I know enough about the subject area but this might help so I may as well post it!
It sounds to me like your program is sending the email in Unicode, but your mail client is treating it as 7-bit ASCII (I could be wrong, but that's the impression I get). I can only give a vague suggestion: emails that aren't just plain 7-bit ASCII are MIME, and the parts of a MIME email have content types and encodings. I'll hazard a not-quite-well-enough-informed guess that you need to find a way to make the email you're sending a multipart MIME message, which should give you some way to specify the content type and encoding; if you can specify the Unicode encoding you want then it should produce a valid message. Your mail client might still not handle it of course (some don't) but I think most big, modern ones will if you can convince them to treat the message as Unicode. Hopefully this helps and I'm not talking absolute garbage, but since your post's sitting unanswered again I thought I might as well throw in what I had. Good luck!
__________________
"I'm not a genius. Why do I have to suffer?" |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| C++ and Unicode support | whizzkid | C++ | 11 | Jun 17th, 2008 2:20 PM |
| Is Hotmail Or The Email Server Becoming Low In Security? | pr0gm3r | Coder's Corner Lounge | 13 | Oct 14th, 2005 7:00 PM |
| email abuse questions | melbolt | Coder's Corner Lounge | 25 | May 23rd, 2005 9:01 AM |