SendObject inspires Outlook security warning

G

Guest

I'm trying to send individual emails to a recordset of about 700 email
addresses. My code iterates through the recordset, executing the SendObject
method for each, although I'm not really sending an object, just email text.

Each email is triggering an Outlook warning dialog asking whether to permit
access to Outlook.

Do I have to click 'Yes' 700 times or is there a better way?
 
R

Rick Brandt

jimmolter said:
I'm trying to send individual emails to a recordset of about 700 email
addresses. My code iterates through the recordset, executing the SendObject
method for each, although I'm not really sending an object, just email text.

Each email is triggering an Outlook warning dialog asking whether to permit
access to Outlook.

Do I have to click 'Yes' 700 times or is there a better way?

If you automate CDO (or another messaging library) instead of using
SendObject then you can avoid the prompts. Otherwise you're stuck. There
is a free product that automatically presses the [Yes] button for you, but
that always seemed like a crude answer to the problem to me.
 

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