Sending HTML thru SendObject

G

Guest

I'd like to insert a lot of HTML text into a messsage that I am sending
through SendObject code. Is there are way to do this (novice level).

Any help is much appreciated!
 
D

Dirk Goldgar

In
Steve Hansen said:
I'd like to insert a lot of HTML text into a messsage that I am
sending through SendObject code. Is there are way to do this (novice
level).

Any help is much appreciated!

You can't do it with SendObject; it only creates plain-text messages.
If you can count on Outlook being the e-mail client, you can automate
Outlook using the code at the various links to be found on this page:

http://www.granite.ab.ca/access/email/outlook.htm

I think all the sample code there is just using plain text -- to send an
HTML message, IIRC, you have to set the message's HTMLBody property
instead of its Body property. Or maybe you can also set the body format
property first (not sure of the name), and then set the Body property --
I'm not sure how that works.
 

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