Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Mailto: equivalent
Message
 
 
To
24/07/2003 23:56:55
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00813377
Message ID:
00813705
Views:
20
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--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform