>Does anyone know how to suppress the pop up dialog that reads,
>A program is trying to access e-mail addresses you have stored in outlook. Do you want to allow this? If this is unexpected, it may be a virus and you should choose "No".
>
>This gets triggered at MailItem.Send()
>
>Thanks,
>
Louis,
AFAIK, you can't bypass this. MS added this security feature to Outlook XP and to a security patch for Outlook 2000. It's designed to inhibit the plethora of VBA macro viruses out there.
In stead of using Outlook to send e-mails, you could use an SMTP server directly, iether via Rick Strahl's WWIPStuff or via Collaboration Data Objects (CDO). You can get WWIPStuff from
www.west-wind.com and CDO is standard on Win2K/XP boxes. You can read more at
http://msdn.microsoft.com/library.
HTH.
Larry Miller
MCSD
LWMiller3@verizon.netAccumulate learning by study, understand what you learn by questioning. -- Mingjiao