Article View: borland.public.cppbuilder.nativeapi
Article #13619Re: Send a mail with attachment
From: David Ayre
Date: Tue, 30 Sep 2003 12:01
Date: Tue, 30 Sep 2003 12:01
34 lines
1676 bytes
1676 bytes
Could anyone tell me which 'includes' to use with MAPI. I am using BCB4. 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:
<3f79708b@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-08!supernews.com!news.tele.dk!news.tele.dk!small.news.tele.dk!npeer.de.kpn-eurorings.net!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 05:25:40 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: <3f79708b@newsgroups.borland.com> Date: 30 Sep 2003 05:01:15 -0700 X-Trace: newsgroups.borland.com 1064923275 207.105.83.66 (30 Sep 2003 05:01:15 -0700) Lines: 35 Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-08!supernews.com!news.tele.dk!news.tele.dk!small.news.tele.dk!npeer.de.kpn-eurorings.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail