Email without Outlook warning

I'm working on a email-client which shall automatically proceed incoming mail on a exchange server account.
but by using Outlook Interoperability Assemblies or MAPI, i always get the Message:
"Error: A program is trying to access email addresses ..."

is there any way of authentification against Outlook to prevent this message
There must be one, because using Mozilla to access Exchange Server doesn't produce such a message.



Answer this question

Email without Outlook warning

  • Raudhah

    not an expert in Outlook Programming. But I'd like to bring out the difference. Outlook has added this feature to prevent rogue programs (like viruses) to send emails through its API without the user knowing. Its got nothing to do with Exchange.

    Mozilla's Email client does not use Outlook. They use their own implementations of the email protocols to communicate with Exchange server hence they have nothing to do with Outlook.

    I'd suggest you post this in the VSTO (Visual Studio Tools for Office forums) to get Outlook specific information.

    Regards,
    Saurabh Nandu
    www.MasterCSharp.com

  • JimIT

    communicate means a lot of things - I belive there would be an Exchange SDK that you could use to build applications that directly interface with it.

    The framework provides SmtpMail class that can be configured to send emails through the Exchange Server. Although there are no classes to read information like Emails/Folders etc from the Exchange Server. You will have to use the Exchange SDK for it.

    Regards,
    Saurabh Nandu
    www.MasterCSharp.com
    www.AksTech.com

  • Najmunnisha

    thx, but one more question.
    as you are CSharp Master ;-) can you tell me if the framework has a built-in way to communicate with an exchange server so that i don't have to use outlooks interop-api

  • Email without Outlook warning