Delphi Pages Forums  

Go Back   Delphi Pages Forums > Delphi Forum > General

Lost Password?

Reply
 
Thread Tools Display Modes
  #1  
Old 08-25-2010, 08:42 AM
Jasser Jasser is offline
Moderator
 
Join Date: Jan 2005
Location: Saudi Arabia
Posts: 5,060
Default Small problem.

I am sending some email(s) using Indy SMTP component and every thing works like a dream except:

The "Subject" and "From" are written in Arabic put when receiving the email through Outlook it display garbage chars instead of the Arabic letters. Any idea?
__________________
Regards,
Abdulaziz Jasser
Reply With Quote
  #2  
Old 08-25-2010, 10:52 AM
Norrit Norrit is offline
Moderator
 
Join Date: Aug 2001
Location: Landgraaf
Posts: 7,335
Default

And what happens in other applications (outlook express, other pop3 apps)?
Read something back in the days that Outlook was the only one giving these issues...

I'll search, perhaps I can find a solution somewhere...
Reply With Quote
  #3  
Old 08-25-2010, 11:00 AM
Norrit Norrit is offline
Moderator
 
Join Date: Aug 2001
Location: Landgraaf
Posts: 7,335
Default

Well, known issue with initial releases of 2009 and Indy 10... Has to do with the Unicode support not fully implemented in Indy...
Perhaps updating to the latest indy version will solve this issue, not sure though...

reference:
http://www.weask.us/entry/delphi-smt...-utf-8-unicode

Last edited by Norrit; 08-25-2010 at 11:01 AM. Reason: added reference
Reply With Quote
  #4  
Old 08-25-2010, 12:10 PM
Jasser Jasser is offline
Moderator
 
Join Date: Jan 2005
Location: Saudi Arabia
Posts: 5,060
Default

I use Delphi7 (No Unicode stuff) + Windows7 + Outlook2003. The problem comes on the "subject" and "from" when using Arabic texts.
__________________
Regards,
Abdulaziz Jasser
Reply With Quote
  #5  
Old 08-25-2010, 12:11 PM
Norrit Norrit is offline
Moderator
 
Join Date: Aug 2001
Location: Landgraaf
Posts: 7,335
Default

And what indy version do you use?
Reply With Quote
  #6  
Old 08-25-2010, 12:14 PM
Jasser Jasser is offline
Moderator
 
Join Date: Jan 2005
Location: Saudi Arabia
Posts: 5,060
Default

The one that comes with Delphi7!!! Maybe 6 or 7 !!?
__________________
Regards,
Abdulaziz Jasser
Reply With Quote
  #7  
Old 08-25-2010, 12:19 PM
Norrit Norrit is offline
Moderator
 
Join Date: Aug 2001
Location: Landgraaf
Posts: 7,335
Default

but doesn't this convert to ASCII?
Should be Indy 9 by the way
Reply With Quote
  #8  
Old 08-25-2010, 12:23 PM
Jasser Jasser is offline
Moderator
 
Join Date: Jan 2005
Location: Saudi Arabia
Posts: 5,060
Default

{* but doesn't this convert to ASCII? *}

It should (I guess).

{* Should be Indy 9 by the way *}
I don't think so. Delphi7 is too old. My guess is 6 or 7.

What could be th problem?
__________________
Regards,
Abdulaziz Jasser
Reply With Quote
  #9  
Old 08-25-2010, 12:25 PM
Jasser Jasser is offline
Moderator
 
Join Date: Jan 2005
Location: Saudi Arabia
Posts: 5,060
Default

I tried the same project with Delphi2007 and still the same problem!!!
__________________
Regards,
Abdulaziz Jasser
Reply With Quote
  #10  
Old 08-25-2010, 12:25 PM
Norrit Norrit is offline
Moderator
 
Join Date: Aug 2001
Location: Landgraaf
Posts: 7,335
Default

Still, it's Indy 9... Check it out... Version of Indy is always VERY important, just look at the properties, it should be visible in 1 of them...

I'm not too familiar with Arabic language, but does this even show in the ASCII chart??? As far as I know it doesn't....
Reply With Quote
Reply

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 On

Forum Jump


All times are GMT. The time now is 10:32 AM.


Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2019, vBulletin Solutions, Inc.