Outlook automation/security

N

NJS

I have a bulk-e-mailing app (Access) that uses 'item.send' from the Outlook
library to send individual e-mails to a number of different recipients. In
Office 2000 all worked fine but with Outlook 2003 a message re 'A program is
trying to access e-mail adresses ...' pops up twice for each e-mail, with
5-second delays etc. I am setting all the mail item properties from data in
Access, and not using the address book.
How can I bypass this break in the flow?
I created a local certificate - can this help?
thanks you.
 
B

Ben Reese

I have the same problem using CDO / Outlook NJS.

The simplest code possible in an outlook macro
Sub Main()
Dim Mail As Outlook.MailItem
Dim Rorward As Outlook.MailItem

Set Mail =
ThisOutlookSession.Session.GetDefaultFolder(olFolderInbox).Items.Item(1)
Set Forward = Mail.Forward

Forward.Recipients.Add "(e-mail address removed)"
Forward.Send
End Sub

has the same result.

There is plenty of knowledge base articles describing this security update
but none telling how to make an application "trusted" by outlook.
We all understand the need for security, but this is a real downer for
automated tasks which is (after all) why we write programs to do stuff.
PLEASE don't make it unusable!.
 

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