Sending an email from a button on a form

B

Brian Starr

How can I have an email sent when pressing a button on the form? I don't
need to send an Access object. I just need a plain old email sent in .html
format to act as a tickler of sorts. I have used Docmd.SendObject, however,
I am getting an error about the format (.html) being messed up in the
Windows Registry. Is there another action (other then sendobject) I can use
to send an email? THANKS A MILLION IN ADVANCE!
 
C

Cheryl Fischer

You could use Automation to create and send your Outlook email. Instead of
using the .Body property for the message portion of the email, you would use
..HTMLBody.

Here is a link with code samples to get you started:

http://tinyurl.com/yrqm

hth,
 
B

Brian Starr

THANKS!!!!
Cheryl Fischer said:
You could use Automation to create and send your Outlook email. Instead of
using the .Body property for the message portion of the email, you would use
.HTMLBody.

Here is a link with code samples to get you started:

http://tinyurl.com/yrqm

hth,
 

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