Article View: borland.public.cppbuilder.nativeapi
Article #13659Re: How to send email with attachment
From: Pete Fraser
Date: Mon, 22 Sep 2003 19:18
Date: Mon, 22 Sep 2003 19:18
20 lines
1802 bytes
1802 bytes
Thanks Remy, I was afraid of that as I couldn't find anything else on Google :( I'll investigate MAPI then - new experience ;-) Rgds Pete "Remy Lebeau (TeamB)" <gambit47@yahoo.com> wrote in message news:3f6f2c68$1@newsgroups.borland.com... > > "Pete Fraser" <pete.fraser@at.frasersoft.dot.net> wrote in message > news:3f6f2a83@newsgroups.borland.com... > > > The email client comes up but no attachment is displayed. > > Not all email clients support specifying multiple fields via the "mailto" > protocol, let alone attachments. Your best bet is to instead either 1) use > SimpleMapi/MAPI, specifically the MapiSendMail() function, or 2) use an SMTP > component to communicate with the email server directly (assuming SMTP is > even used to begin with, which most of the time it is).
Technical Details
Message-ID:
<3f6f4b12@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!priapus.visi.com!news-out.visi.com!petbe.visi.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mailReferences:
<3f6f2a83@newsgroups.borland.com> <3f6f2c68$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,103a5b9fca46af86 X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-09-22 12:22:18 PST From: "Pete Fraser" <pete.fraser@frasersoft.nospam.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <3f6f2a83@newsgroups.borland.com> <3f6f2c68$1@newsgroups.borland.com> Subject: Re: How to send email with attachment Date: Mon, 22 Sep 2003 20:18:43 +0100 Lines: 22 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 NNTP-Posting-Host: 80.5.149.160 Message-ID: <3f6f4b12@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1064258322 80.5.149.160 (22 Sep 2003 12:18:42 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!priapus.visi.com!news-out.visi.com!petbe.visi.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail