MS Outlook - VB.Net - Logon using Different Username, Password

Posted on 2009-02-18
Last Modified: 2012-05-06
I am using MAPI in VB.Net to retrieve Outlook mail sent to a mail box.
For this I am using username, password stored in the database. If one username, password fails I would to login with different username, password.

Currently this is not possible since the username is getting stored. Any idea... how to do this with another username, password ?

Thanks in advance
Question by:kumar_svr
    1 Comment
    LVL 5

    Accepted Solution

    If you problem is the MAPI object will not let you update the username then just destroy the object and recreate it.

    Featured Post

    What Is Threat Intelligence?

    Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

    Join & Write a Comment

    Article by: Kraeven
    Introduction Remote Share is a simple remote sharing tool, enabling you to see, add and remove remote or local shares. The application is written in VB.NET targeting the .NET framework 2.0. The source code and the compiled programs have been in…
    Creating an analog clock UserControl seems fairly straight forward.  It is, after all, essentially just a circle with several lines in it!  Two common approaches for rendering an analog clock typically involve either manually calculating points with…
    Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
    In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor ( If you're interested in additional methods for monitoring bandwidt…

    734 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    22 Experts available now in Live!

    Get 1:1 Help Now