🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #13668

Send a mail with attachment

#13668
From: Nicola
Date: Tue, 23 Sep 2003 13:44
15 lines
1169 bytes
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
Technical Details
Message-ID: <3f70794d@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!news.maxwell.syr.edu!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,23d9e1242f297072,start
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-09-23 09:53:31 PST
From: "Nicola" <.>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Send a mail with attachment
Date: Tue, 23 Sep 2003 15:44:03 +0200
Lines: 17
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: 217.172.212.72
Message-ID: <3f70794d@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1064335693 217.172.212.72 (23 Sep 2003 09:48:13 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!news.maxwell.syr.edu!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail