Ramil,
The Outlook Namespace object has Logon method. I'm not sure if it will fail or trigger the wizard if profile doesn't exist but it worth a try.
>Hi Sergey,
>
>I had the solution right under my nose all the time. I have an existing messaging class that uses MAPI and added the Outlook functionality when sending email using HTML. I can actually use the MAPI class to get a valid SignOn() which returns false if the mail profile is not setup.
>
>One problem may occur is that if the PC has another email client set as "default" other than Outlook will return a valid SignOn(). Instantiating Outlook will still start the wizard.
>
--sb--