Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Outlook Security Warning 1

Status
Not open for further replies.

RolfSnijders

Programmer
Apr 4, 2003
1
NL
Subject: automatic process to send faxes/email through Outlook 2000.

Hello DotNetter,

We are building an OutlookControlApplication (VisualStudio.NET 2002 v.7.0; C# WindowsApplication) that runs on a dedicated server (W2K) with an Outlook 2000 Client running too.
This program 'OCA' reads a TXT-file coming from a mainframe.
OCA then parses/generates emails and faxes from it.
These faxes/emails are deposited by OCA in Outlook 2000 Outbox.
C# Example code:
...
private Outlook.Application oApp;
private Outlook._NameSpace oNameSpace;
private Outlook.MAPIFolder oOutboxFolder;
... etc.
oNameSpace= oApp.GetNamespace("MAPI");
oNameSpace.Logon("","",false,true);
... etc.
Outlook._MailItem oMailItem = (Outlook._MailItem)oApp.CreateItem(Outlook.OlItemType.olMailItem);
... etc.

But when doing so, Outlook Client shows a Popup with the following message:
==
A program is trying to automatically send e-mail on your behalf.
Do you want to allow this?
If this is unexpected, it may be a virus and you should choose NO.
==

This Popup window needs a manual action (mouseclick on YES).
This is, of course, a showstopper as we need to automate the process of dispatching email and faxes without user-interference.
So my questions is:
How do we suppress or avoid this Popup window, so as to automate the fax/email traffic?

Thanking you in advance for a serious answer
Regards,
Rolf
 
I have a few automated programs on a workstation which exhibited the same behavior after I applied the Outlook E-mail Security Update which wawalter refers to. Basically, I re-installed Outlook, effectively removing the update, and the programs have worked fine ever since. Since we have anti-virus gateway, and an anti-virus wall on the machine itself, the security update isn't beneficial anyway, just a pain.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top