create HTML email

J

jamesdeckert

What is the procedure for creating an HTML email programmatically. I'm using
sendobject because I can't be assured of the existence of Outlook.

If I do something like
DoCmd.SendObject acSendNoObject, , acFormatHTML, strRecipient, , ,
strSubject, "<html><body><b><h1>" & strBody & "</h1></b></body></html>", False

the HTML tags show in the email, instead of them being recognized as HTML.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top