Using SendObject with acFormatHTML

G

Guest

has anyone succeeded to fire up an Email with real html content by doing:

DoCmd.SendObject acSendNoObject, , acFormatHTML..........

what is the acFormatHTML option there for if SendObject dosnt turn on the
html option in the mail client ?
 
R

Rick Brandt

Henry said:
has anyone succeeded to fire up an Email with real html content by
doing:

DoCmd.SendObject acSendNoObject, , acFormatHTML..........

what is the acFormatHTML option there for if SendObject dosnt turn on
the html option in the mail client ?

It is there to create an HTML attachment for the message as opposed to an Excel,
Word, or Text attachment.
 
G

Guest

I thought it defines the data format of the actual email message. How do you
pass on the attachment as part of the SendObject call ?
 
R

Rick Brandt

Henry said:
I thought it defines the data format of the actual email message. How
do you pass on the attachment as part of the SendObject call ?

You don't as far as I know. Access has no idea which Email client the user
might have so there is no way for it to manipulate properties of the message
other than to supply the data.

You can use automation against Outlook, CDO or various other messaging
libraries and then have the ability to do such stuff, but not when using
SendObject. See example code at link below...

http://www.mvps.org/access/modules/mdl0019.htm
 

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