Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using Hyperlink class for mailto:
Message
From
20/05/2005 12:47:57
 
 
To
23/03/2005 12:55:29
Sabari Kreesh
Future Technologies
Mumbai, India
General information
Forum:
Visual FoxPro
Category:
Internet applications
Miscellaneous
Thread ID:
00998405
Message ID:
01016249
Views:
14
Is there a way to automatically include an attachment(s) with this email? I've got a VFP6 app that creates an Excel spreadsheet, which we then email to our customers. I can use the code below to start up the email to the customer, but would like to add something that attaches the file(s) that was just created.

Thanks!

>Use this Procedure given below & Pass the parameter
>your comments are welcome (sabari@writme.com)
>
>Example :
>
>OpenEmailClient('sabari@writeme.com','','My First E-Mail','Just a Test')
>
>
>PROCEDURE OpenEmailClient
>LPARAMETERS lcEmailAddress, lcCCAddress, lcSubject, lcMessageBody
>DECLARE INTEGER ShellExecute ;
> IN SHELL32.DLL ;
> INTEGER nWinHandle,;
> STRING cOperation,;
> STRING cFileName,;
> STRING cParameters,;
> STRING cDirectory,;
> INTEGER nShowWindow
>
>ShellExecute(0, "", "mailto:" + lcEmailAddress + "?Subject=" + lcSubject + ;
> "&CC=" + lcCCAddress + "&body=" + lcMessageBody, "", "", 1)
>
>RELEASE DLLS ShellExecute
>RETURN
Previous
Reply
Map
View

Click here to load this message in the networking platform