I wouldn't use Outlook to send a e-mail from an application because you will get a security warning from Outlook that will bug you.
Ask your sysadmin to create a virtual SMTP server and use it to send e-mails from your application. Since this server will not be visible from the outside, relay should be enable.
>Hi Eric!
>
>Thanx! for the reply. Actually I do have an small app just like the one you posted. That's how I did my test. But I got word from the Administrator that they do not allow relaying, and suggest that I find another way. And so, I had to make use of the MS Office Outlook 9 COM object.
>
>
>Thanx! a lot 8 )
>
>Martin
Éric Moreau, MCPD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc.
http://www.emoreau.com