Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Mailto: equivalent
Message
 
 
À
24/07/2003 23:56:55
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00813377
Message ID:
00813705
Vues:
21
Mathew,

You can use ShellExecute Win Api function
DECLARE INTEGER ShellExecute ;
    IN SHELL32.DLL ;
    INTEGER nWinHandle,;
    STRING cOperation,;
    STRING cFileName,;
    STRING cParameters,;
    STRING cDirectory,;
    INTEGER nShowWindow

lcEmailAddress = "somebody@someplace.com"
lcCCAddress = "somebodyelse@someplace.com"
lcSubject = "This is a test message"
lcMessageBody = "This a message body."

ShellExecute(0, "", "mailto:" + lcEmailAddress + "?Subject=" + lcSubject + ;
                    "&CC=" + lcCCAddress + "&body=" + lcMessageBody, "", "", 1)
>Is there a function in VFP that works the same or equivalent to HTML's mailto: function?
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform