More Outlook Resource Sites

Microsoft Developer Network (MSDN)

FAQs and other general resources

forum 23-Apr-2019 02:56

Looking for help with Outlook programming projects — VSTO, add-ins, VBA, custom Outlook forms, etc.? You′ve come to the right place!

NEW! >> Subscribe to this site via RSS. For more RSS options, see the complete list of feeds on our main news page.

    Page [ 1 ]  
 Outlook Expert Techniques Printer Friendly Version
Working with toolbars, menus, ribbon; generating custom reports; deploying forms; connecting to databases, Exchange folders, and XML Web services
Topic
Create accounts programmatically
I was told I could use Extended MAPI in order to programmatically create an Outlook mail account. I've searched Messaging API for a solution to my problem but not been able to find anything. I've even installed Outlook Spy to discover how email account info (username, password, account, pop3/imap server, smtp server) is stored and found nothing. Does anyone know something about the subject? Is there a site where this is explained?

Thanks

  12-Aug-2003  02:02
  18-Aug-2003  11:58   
A good place to start is with the IMsgServiceAdmin and IProviderAdmin interfaces -- http://msdn.microsoft.com/library/en-us/mapi/html/_mapi1book_imsgserviceadmin_iunknown.asp and http://msdn.microsoft.com/library/en-us/mapi/html/_mapi1book_iprovideradmin_iunknown.asp . See http://www.slipstick.com/dev/mapi.htm for links to ExMAPI discussion forums if you have further questions on this.
  09-Oct-2003  08:13   
I was told, that Outlooks stores it's account in then windows registry, the key is:
HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles\Outlook-Profilname
  11-Nov-2003  18:47   
does anyone else any other links to either a utility or some .NET code (vb.net or C# preferble) that can do this?
 
  12-Nov-2003  10:58   
Extended MAPI is not compatible with .NET languages. You would need to use Redemption (a COM library at http://www.dimastr.com/redemption/ ) to manipulate the profile. There should be some elementary samples (not .NET) at the Redemption site.
  10-Feb-2004  14:40   
I am looking how to get account info (username, password, account, pop3/imap server, smtp server) from outlook, it seems some of you nows, can you share this with me?
  10-Feb-2004  22:10   
Please see my answer above.
    Page [ 1 ]