How can I send email via Access without opening Outlook?

  • Thread starter Thread starter hanski
  • Start date Start date
H

hanski

hi.

I have one row in VBA:

DoCmd.SendObject , , , (e-mail address removed), , , My name

It is sending email very well when I open the Outlook. But if I do not
remember to open Outlook, the emai will not ever go forward!

Hannu
 
Hi

Using DoCmd.SendObject can place message from access into the outbox. You
need to have set up your outlook to send the messages - this is not an access
problem.

Go to Outlook
Tools
Options
Mail Setup
Select the send messages when connected
Tick the check box.

Of course you will need to be conected to your mail server for this to work.
 
Back
Top