Article View: borland.public.cppbuilder.nativeapi
Article #13615Re: Send a mail with attachment
From: David Ayre
Date: Tue, 30 Sep 2003 09:15
Date: Tue, 30 Sep 2003 09:15
34 lines
1846 bytes
1846 bytes
I have been following this thread with interest as it is something that I have been trying to do. Do you have a short code example that I could look at? Cheers, David "Francesco" <nomail@mail.ru> wrote: >Nicola wrote: > >> Hi, >> >> how can I send a mail with default mail program (usually Outlook >> Express) with an attachment?? >> >> I know that should be the way: >> >> ShellExecute(Handle, >> "open", >> "mailto:address@mail.com", >> NULL,NULL,SW_SHOWDEFAULT); >> >> but what about the attachment?? >> >> thanks in advance > >I solved my problem using MapiSendMail(); not so complicate as I >thought and works fine, anyway thanks to everybody Rodolfo, Ed and >Remy. > > > >
Technical Details
Message-ID:
<3f7949ba@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-08!supernews.com!38.144.126.76.MISMATCH!feed2.newsreader.com!newsreader.com!newshosting.com!news-xfer2.atl.newshosting.com!newsfeed.icl.net!newsfeed.fjserv.net!skynet.be!skynet.be!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<3f70794d@newsgroups.borland.com> <3f784a32@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,23d9e1242f297072 X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-09-30 02:21:08 PST From: "David Ayre" <davidcayre@aol.com> Sender: "David Ayre" <davidcayre@aol.com> Reply-To: "David Ayre" <davidcayre@aol.com> Subject: Re: Send a mail with attachment Newsgroups: borland.public.cppbuilder.nativeapi X-User-Info: 195.93.34.11 References: <3f70794d@newsgroups.borland.com> <3f784a32@newsgroups.borland.com> NNTP-Posting-Host: 207.105.83.66 Message-ID: <3f7949ba@newsgroups.borland.com> Date: 30 Sep 2003 02:15:38 -0700 X-Trace: newsgroups.borland.com 1064913338 207.105.83.66 (30 Sep 2003 02:15:38 -0700) Lines: 35 Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-08!supernews.com!38.144.126.76.MISMATCH!feed2.newsreader.com!newsreader.com!newshosting.com!news-xfer2.atl.newshosting.com!newsfeed.icl.net!newsfeed.fjserv.net!skynet.be!skynet.be!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail