Sending mail

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello.
I have a VBA function that sends emails. I want to automate this process but
when the objoutlook.send method runs i have a message warning me that a
process is trying to send emails on my behalf. How can i supress this message?

Thanks
Luis
 
try this
DoCmd.SetWarnings False
send mail
DoCmd.SetWarnings True
always turn warnings back on
 
It doesn't work.
The message continuous to appear asking me if i allow the sending process.
 
then the message is comming from outlook. you will have to
do something there and i'm not up on outlook.
sorry.
 
Back
Top