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

  • Thread starter Thread starter Rico
  • Start date Start date
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
 
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!
 
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
 
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
 
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
 
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
 
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
 
Back
Top