View Single Post
  #1  
Old June 10th 08, 10:59 AM posted to microsoft.public.outlook.program_vba,microsoft.public.outlook
Jon Lewis
external usenet poster
 
Posts: 9
Default Mapi/CDO Outlook emailing

I'm using a mapi/cdo routine (based on code from Sue Mosher) to generate a
mass email from a CRM Access application.

I'm looping through a recordset adding email body/attachments etc and then

objOutlookMsg.Close (olSave)
objOutlookMsg.Move objOutlookDestFolder

for each message saves the email to the Outlook Outbox and only one security
warning is thrown for the entire session which is fine.

However, all the messages in the Outbox are non-italicised, i.e. each one
has to be opened up and Send clicked.

If I add objOutlookMsg.Send to the loop, I get a separate security dialog
box for each email

How can I avoid this.

TIA


Ads