Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Jun 5th, 2008, 7:28 PM   #1
Logical1
Programmer
 
Logical1's Avatar
 
Join Date: Apr 2008
Posts: 43
Rep Power: 0 Logical1 is on a distinguished road
Question Unicode email

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^
Logical1 is offline   Reply With Quote
Old Jun 12th, 2008, 2:22 PM   #2
mackenga
Professional Programmer
 
Join Date: Mar 2005
Location: Glasgow, Scotland
Posts: 314
Rep Power: 4 mackenga is on a distinguished road
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?"
mackenga is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

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




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 4:31 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC