Sending mail

L

Luis

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
 
G

Guest

try this
DoCmd.SetWarnings False
send mail
DoCmd.SetWarnings True
always turn warnings back on
 
L

Luis

It doesn't work.
The message continuous to appear asking me if i allow the sending process.
 
G

Guest

then the message is comming from outlook. you will have to
do something there and i'm not up on outlook.
sorry.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top