How can I send email via Access without opening Outlook?

H

hanski

hi.

I have one row in VBA:

DoCmd.SendObject , , , [email protected], , , 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
 
W

Wayne-I-M

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.
 
Top