Sending an email from a button on a form

  • Thread starter Thread starter Brian Starr
  • Start date Start date
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!
 
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,
 
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,
 
Back
Top