Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using Hyperlink class for mailto:
Message
De
20/05/2005 12:47:57
 
 
À
23/03/2005 12:55:29
Sabari Kreesh
Future Technologies
Mumbai, Inde
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Divers
Thread ID:
00998405
Message ID:
01016249
Vues:
15
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform