I'm using MAPI to send mail via MS Exchange Server. I've setup a Mail profile in Control Panel, and when I send mail from Outlook Express, everything works fine.

However, when I try to use send mail from my VB app, I get the error message "Login Failed", even though my MAPISession has been started with no error and its SessionID property has been assigned to the equivalent property of my MAPIMessages control.

Any ideas?

Nahid Harjee