Article View: borland.public.cppbuilder.nativeapi
Article #9698Simple MAPI and attachement file names
From: Regis St-Gelais
Date: Thu, 17 Jun 2004 19:58
Date: Thu, 17 Jun 2004 19:58
37 lines
1833 bytes
1833 bytes
I use Simple MAPI to send e-mails with file attachements I have a probleme with accentuated caracteres in the attachement file name but not in the subject and the body. For example: If the subject is: "R�gis" In my e-mail client I see "R�gis" in the subject That is OK. If the the body is: "R�gis" In my e-mail client I see "R�gis" in the body That is also OK. But if the file that I attache is "R�gis.txt" The file is sended without problem but the file name become "Rigis.txt" "i" is what you get if you mask "�" with 0x7f It looks like the MAPI only use 7bits for the characteres in the file name. I have tryed to convert "�" to "é" but I receive "é" and not "�" I also tryed UTF-8 and wchars but without luck. If I manualy use the client to send "R�gis.txt", I get "R�gis.txt" so it is not a limitation of SMTP. (For my tests, I use Outlook Express as e-mail client) Any advice? Thanks -- R�gis
Technical Details
Message-ID:
<40d1f7d3@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII X-Google-Thread: 10cc67,2f06641c611c2c6d,start X-Google-Attributes: gid10cc67,public From: "Regis St-Gelais" <regis.st-gelais@NOSPAMlaubrass.com> Newsgroups: borland.public.cppbuilder.nativeapi Subject: Simple MAPI and attachement file names Date: Thu, 17 Jun 2004 15:58:12 -0400 Lines: 39 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1409 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 NNTP-Posting-Host: 24.200.19.15 Message-ID: <40d1f7d3@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1087502291 24.200.19.15 (17 Jun 2004 12:58:11 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail