Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Outlook Express
Message
From
07/08/2000 05:50:40
 
 
To
07/08/2000 04:26:01
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Miscellaneous
Thread ID:
00401508
Message ID:
00401751
Views:
18
>Hi, Erik,
> I've met same problem as Grigore, but I don't know how to insert the attachment into the mail and send it directly. Could you give me some time to explain it. Thanks a lot!
>

The answer hasn't changed miraculously; you'll need to use MAPI to do this (see Nigel Coates' MAPIMail class) - the ShellExecute() launch of mailto: doesn't handle file attachments.

You're far better off having the client invest in a copy of Outlook if MAPI automation isn't sufficient to your needs, or investigate direct use of SMTP through something like wwIPStuff. Or buy a third-party control that will provide some wrapper functionality on MAPI like IDSMail.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform