How To Export HTML to email

  • Thread starter Thread starter Greg Smith
  • Start date Start date
G

Greg Smith

Never thought I would need to know this till just a few
moments ago. I was asked to design a form that would
output the information to HTML and send it on.

Does anyone know where I can get a sample form or code
examples on how to do this??

Thanks, Greg
 
Never thought I would need to know this till just a few
moments ago. I was asked to design a form that would
output the information to HTML and send it on.

Does anyone know where I can get a sample form or code
examples on how to do this??
You can probably find an example on www.slipstick.com. However, it
should not be more difficult than setting the HTML editor property to
1.

Hollis D. Paul [MVP - Outlook]
(e-mail address removed)
Using Virtual Access 4.52 build 277 (32-bit), Windows 2000 build 2195
http://search.support.microsoft.com/kb/c.asp?FR=0&SD=TECH&LN=EN-US

Mukilteo, WA USA
 
Assuming you know how to write HTML tags, just build a string with the tagged HTML content, then set the HTMLBody property of your new message. For a sample that creates an HTML-format mail message containing any single day's appointment list, see http://www.slipstick.com/dev/finddate.htm#today . Pay particular attention to the way the AddApptRow() function does most of the work of building the table.

--
Sue Mosher, Outlook MVP
Outlook and Exchange solutions at http://www.slipstick.com
Author of
Microsoft Outlook Programming: Jumpstart
for Administrators, Power Users, and Developers
 
Back
Top