Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Loading an email with HTML code
Message
General information
Forum:
Visual FoxPro
Category:
Third party products
Miscellaneous
Thread ID:
00796375
Message ID:
00796418
Views:
11
Cecil,

input code? Not sure exactly what you mean...but here is a sample...
lcHTMLString = [<html><body>Hello <b>world!</b></br>]
lcHTMLString = lcHTMLString + [<a href="http://msdn.microsoft.com/vfoxpro">This is a link to VFP website</a>]
lcHTMLString = lcHTMLString + [</body>]


oOutlook = createobject("outlook.application")
oitem = oOutlook.createitem(0)
oitem.recipients.add("sgibson@hnjinc.com")
oitem.subject =  "This is a Test Sending HMTL message from VFP"
oitem.HTMLBody = lcHTMLString  
oitem.display()   && or oitem.send() if you want to send it
Only problem is Outlook automation has become pretty bogus because of the security built into newer versions of Outlook. Checkout wwIpstuff or Mail/X at www.mabry.com to bypass Outlook.

>How would one use a certain set of HTML Input code in an email in Outlook?
Steve Gibson
Previous
Reply
Map
View

Click here to load this message in the networking platform