Results 1 to 4 of 4

Thread: add an email account to outlook2007 programmatically

  1. #1

    Thread Starter
    Fanatic Member Crash893's Avatar
    Join Date
    Dec 2005
    Posts
    930

    add an email account to outlook2007 programmatically

    I have a few users in the field ( ever increasing) that need to setup outlook 2007 with the correct settings to access there company email


    I would like to send them an executable and have it install the correct account information for them (I was thinking of keeping the user name and password hash in the app.config file)

    does anyone have good examples of how to start this?

    Thanks
    Last edited by Crash893; Jul 7th, 2009 at 02:13 PM.

  2. #2
    PowerPoster 2.0 Negative0's Avatar
    Join Date
    Jun 2000
    Location
    Southeastern MI
    Posts
    4,367

    Re: add an email account to outlook2007 programicly

    I think the only way to do this is to use MAPI. Microsoft has a lot of C/C++ examples, but if you read through those it might give you the functions you need to call to update the profile info:

    http://support.microsoft.com/kb/266352

  3. #3

    Thread Starter
    Fanatic Member Crash893's Avatar
    Join Date
    Dec 2005
    Posts
    930

    Re: add an email account to outlook2007 programmatically

    what about an add-in

  4. #4
    PowerPoster 2.0 Negative0's Avatar
    Join Date
    Jun 2000
    Location
    Southeastern MI
    Posts
    4,367

    Re: add an email account to outlook2007 programmatically

    I don't know about an addin, but the searching I did stated that the only way to do it was via MAPI, so I am guessing the Addin API doesn't expose that functionality either.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width