How to remove the Outlook access warning for sending email with other programs.

R

Rico

Hello,

I have a client that would like to send purchase orders through Outlook /
Exchange Server. The program is to send an email to each of the vendors
with an attached purchase order. I have all the code working but when the
program tries to send the email, a pop up warning says

"A program is trying to automatically send e-mail on your behalf. Do you
want to allow this?"..with the option of yes or no after a certain period of
time.

It would be fine if this popped up once before sending the emails, but it
pops up for each of the 15-30 emails that are being sent. Is there a way to
disable this? I don't necessarily need to disable this programatically, but
I wouldn't be opposed to that either. It would be nice programatically to
do this so that the warnings could be restored to protect against other
programs.

Any direction would be greatly appreciated.

Thanks!
Rick
 
B

BogusID

Rico said:
Hello,

I have a client that would like to send purchase orders through Outlook /
Exchange Server. The program is to send an email to each of the vendors
with an attached purchase order. I have all the code working but when the
program tries to send the email, a pop up warning says

"A program is trying to automatically send e-mail on your behalf. Do you
want to allow this?"..with the option of yes or no after a certain period
of time.

It would be fine if this popped up once before sending the emails, but it
pops up for each of the 15-30 emails that are being sent. Is there a way
to disable this? I don't necessarily need to disable this
programatically, but I wouldn't be opposed to that either. It would be
nice programatically to do this so that the warnings could be restored to
protect against other programs.

Any direction would be greatly appreciated.

Thanks!
Rick


Within Outlook, goto Tools...Options...click on the Security tab and uncheck
the box "Warn me when other applications try to send mail as me".
Of course, that also allows ALL other programs to send mail as you!
 
S

Sue Mosher [MVP-Outlook]

See http://www.outlookcode.com/d/sec.htm for your options with regard to the "object model guard" security in Outlook 2000 SP2 and later versions.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
S

Sue Mosher [MVP-Outlook]

Outlook has no such option. You're thinking of Outlook Express.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
F

Franck

Outlook has no such option. You're thinking of Outlook Express.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers

the is admintool but never work out for me with office 2003.

Use a vbscript it worked without warning on any office


Set objMessage = CreateObject("CDO.Message")
objMessage.Subject = "Title"
objMessage.From = "(e-mail address removed)"
objMessage.To = "(e-mail address removed)"
objMessage.TextBody = "body"
objMessage.Configuration.Fields.Item ("http://schemas.microsoft.com/
cdo/configuration/sendusing") = 2
objMessage.Configuration.Fields.Item ("http://schemas.microsoft.com/
cdo/configuration/smtpserver") = "smtp.mysmtp.com"
objMessage.Configuration.Fields.Item ("http://schemas.microsoft.com/
cdo/configuration/smtpserverport") = 25
objMessage.Configuration.Fields.Update
objMessage.Send

just find a way to trigger the vbs and do few modification so you can
pass parameter to it like the from and too and message and that's it
 
R

Rico

Thanks all, you've been a great help!

Rick

Outlook has no such option. You're thinking of Outlook Express.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
Joined
May 17, 2005
Messages
105
Reaction score
0
Hi
I have Access 2010 and Microsoft Outlook 2010, but the option is not there.
It is very frustrating as I am trying to create a purchasing system and every time the box comes up.
Can anyone help?
Thanks
Aaron
 

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