Question : Excel VBA email - Outlook dialog box pop asking permission

I have many Excel 2003 & 2007 Visual Basic apps that I curently send email from within the code.  THe Excel auto starts every morning at a specific time reads data  from ODBCs creates the results and then emails and then shuts down.  The problem: when it issues the email Outlook pops a dialog box saying that an app is trying to send email using "your" email.  do you trust...?" Yes/No.  A single manual step in an otherwise fully automated app.  How do I disable the Outlook pop by answering the Q with code or diabling Outlook.  

Answer : Excel VBA email - Outlook dialog box pop asking permission

Hi Charles_Thor,

You could use CDO -> http://www.rondebruin.nl/cdo.htm
Or, prevent the dialog box  -> http://www.rondebruin.nl/mail/prevent.htm

Regards,

Wayne
Random Solutions  
 
programming4us programming4us