Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Mailto: equivalent
Message
 
 
To
29/07/2003 23:49:03
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00813377
Message ID:
00814860
Views:
23
Hi Mathew,

You can but it will also open IE window.
oHl = CREATEOBJECT("hyperlink")
lcEmailAddress = "somebody@someplace.com"
lcSubject = "This is a test message"
lcMessageBody = "This a message body."
lcMailStr = "mailto:" + lcEmailAddress + "?Subject=" + lcSubject ;
				+ "&body=" + lcMessageBody
oHl.NavigateTo(lcMailStr)
You can use IE automation
oWeb = CREATEOBJECT("InternetExplorer.Application")
lcEmailAddress = "somebody@someplace.com"
lcSubject = "This is a test message"
lcMessageBody = "This a message body."

lcMailStr = "mailto:" + lcEmailAddress + "?Subject=" + lcSubject ;
				+ "&body=" + lcMessageBody
oWeb.Navigate2(lcMailStr)
oWeb.Quit
>Hi Sergey,
>
>Thanks for the help again. Just for heck of it, how would I modify my code to make it work using VFP's Hyperlink class? or can it be done?
>
>Cheers!
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform