DoCmd.SendObject

S

StuJol

ive used the DoCmd.SendObject to send an email via a command button. when the
button is clicked the email editor opens and you have to click send. Is there
anyway to send an email without the editor opening and pressing the command
button.
 
R

Rick Brandt

StuJol said:
ive used the DoCmd.SendObject to send an email via a command button.
when the button is clicked the email editor opens and you have to
click send. Is there anyway to send an email without the editor
opening and pressing the command button.

There is an argument (the last one?) in SendObject that controls whether the
message is displayed first or just sent in the background. Check help topic
on SendObject for details.
 
Top