A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

retrieve a list of all configured email accounts



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old June 2nd 08, 05:56 PM posted to microsoft.public.outlook.program_vba
[email protected]
external usenet poster
 
Posts: 6
Default retrieve a list of all configured email accounts

Hi,

Is it possible to programatically access a list of all email accounts
that a user has configured in Outlook? I'm looking for details for
each configured email account including
User Information (Name, Email Address)
Server Information (incoming POP3 / IMAP, Outgoing SMTP)
Logon Information : User Name

Would this be possible (in a consistent manner?) across different
versions of Outlook? If so, how exactly would I go about it? Are there
any third party libraries like Redemption that I can use to achieve
this?

Thanks in advance,
manoj
Ads
  #2  
Old June 2nd 08, 06:01 PM posted to microsoft.public.outlook.program_vba
Guest
 
Posts: n/a
Default retrieve a list of all configured email accounts

Outlook 2007 has the NameSpace.Accounts collection to access all that
information. For prior Outlook versions, you need to use Redemption's
Profman library.

--
Eric Legault [MVP - Outlook]
MCDBA, MCTS (Messaging & Collaboration, SharePoint Infrastructure, MOSS 2007
& WSS 3.0 Application Development)
Collaborative Innovations
NEW! - Try Picture Attachments Wizard 2.0 For Microsoft Outlook -
Web: http://www.collaborativeinnovations.ca
Blog: http://blogs.officezealot.com/legault


wrote in message
...
Hi,

Is it possible to programatically access a list of all email accounts
that a user has configured in Outlook? I'm looking for details for
each configured email account including
User Information (Name, Email Address)
Server Information (incoming POP3 / IMAP, Outgoing SMTP)
Logon Information : User Name

Would this be possible (in a consistent manner?) across different
versions of Outlook? If so, how exactly would I go about it? Are there
any third party libraries like Redemption that I can use to achieve
this?

Thanks in advance,
manoj


  #3  
Old June 2nd 08, 10:23 PM posted to microsoft.public.outlook.program_vba
Dmitry Streblechenko
external usenet poster
 
Posts: 2,116
Default retrieve a list of all configured email accounts

Actually ProfMan will list only MAPI based accounts, and POP3/SMTP are no
longer MAPI based as of Outlook 2002.
You can use RDOSession.Accounts collection (Outlook 2002 and higher) -
http://www.dimastr.com/redemption/rdo/RDOAccounts.htm , it will list both
MAPI and non-MAPI accounts

--
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
-
wrote in message
...
Outlook 2007 has the NameSpace.Accounts collection to access all that
information. For prior Outlook versions, you need to use Redemption's
Profman library.

--
Eric Legault [MVP - Outlook]
MCDBA, MCTS (Messaging & Collaboration, SharePoint Infrastructure, MOSS
2007 & WSS 3.0 Application Development)
Collaborative Innovations
NEW! - Try Picture Attachments Wizard 2.0 For Microsoft Outlook -
Web: http://www.collaborativeinnovations.ca
Blog: http://blogs.officezealot.com/legault


wrote in message
...
Hi,

Is it possible to programatically access a list of all email accounts
that a user has configured in Outlook? I'm looking for details for
each configured email account including
User Information (Name, Email Address)
Server Information (incoming POP3 / IMAP, Outgoing SMTP)
Logon Information : User Name

Would this be possible (in a consistent manner?) across different
versions of Outlook? If so, how exactly would I go about it? Are there
any third party libraries like Redemption that I can use to achieve
this?

Thanks in advance,
manoj




  #4  
Old June 3rd 08, 01:43 PM posted to microsoft.public.outlook.program_vba
[email protected]
external usenet poster
 
Posts: 6
Default retrieve a list of all configured email accounts

Thanks for the quick reply, Dmitry.

So what I understand is that I can use Redemption's RDO objects to do
this for all Outlook 2002 and higher versions, and for older versions
of Outlook, I will need to use Profman. Is this correct?

On Jun 3, 2:23 am, "Dmitry Streblechenko" wrote:
Actually ProfMan will list only MAPI based accounts, and POP3/SMTP are no
longer MAPI based as of Outlook 2002.
You can use RDOSession.Accounts collection (Outlook 2002 and higher) -http://www.dimastr.com/redemption/rdo/RDOAccounts.htm, it will list both
MAPI and non-MAPI accounts

--
Dmitry Streblechenko (MVP)http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
wrote in message

...

Outlook 2007 has the NameSpace.Accounts collection to access all that
information. For prior Outlook versions, you need to use Redemption's
Profman library.


--
Eric Legault [MVP - Outlook]
MCDBA, MCTS (Messaging & Collaboration, SharePoint Infrastructure, MOSS
2007 & WSS 3.0 Application Development)
Collaborative Innovations
NEW! - Try Picture Attachments Wizard 2.0 For Microsoft Outlook -
Web:http://www.collaborativeinnovations.ca
Blog:http://blogs.officezealot.com/legault


wrote in message
...
Hi,


Is it possible to programatically access a list of all email accounts
that a user has configured in Outlook? I'm looking for details for
each configured email account including
User Information (Name, Email Address)
Server Information (incoming POP3 / IMAP, Outgoing SMTP)
Logon Information : User Name


Would this be possible (in a consistent manner?) across different
versions of Outlook? If so, how exactly would I go about it? Are there
any third party libraries like Redemption that I can use to achieve
this?


Thanks in advance,
manoj


  #5  
Old June 3rd 08, 02:28 PM posted to microsoft.public.outlook.program_vba
[email protected]
external usenet poster
 
Posts: 6
Default retrieve a list of all configured email accounts

Also, would it be possible to programatically add a new email account
using Redemptions RDO objects?

On Jun 3, 5:43 pm, wrote:
Thanks for the quick reply, Dmitry.

So what I understand is that I can use Redemption's RDO objects to do
this for all Outlook 2002 and higher versions, and for older versions
of Outlook, I will need to use Profman. Is this correct?

On Jun 3, 2:23 am, "Dmitry Streblechenko" wrote:

Actually ProfMan will list only MAPI based accounts, and POP3/SMTP are no
longer MAPI based as of Outlook 2002.
You can use RDOSession.Accounts collection (Outlook 2002 and higher) -http://www.dimastr.com/redemption/rdo/RDOAccounts.htm, it will list both
MAPI and non-MAPI accounts


--
Dmitry Streblechenko (MVP)http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
wrote in message


...


Outlook 2007 has the NameSpace.Accounts collection to access all that
information. For prior Outlook versions, you need to use Redemption's
Profman library.


--
Eric Legault [MVP - Outlook]
MCDBA, MCTS (Messaging & Collaboration, SharePoint Infrastructure, MOSS
2007 & WSS 3.0 Application Development)
Collaborative Innovations
NEW! - Try Picture Attachments Wizard 2.0 For Microsoft Outlook -
Web:http://www.collaborativeinnovations.ca
Blog:http://blogs.officezealot.com/legault


wrote in message
...
Hi,


Is it possible to programatically access a list of all email accounts
that a user has configured in Outlook? I'm looking for details for
each configured email account including
User Information (Name, Email Address)
Server Information (incoming POP3 / IMAP, Outgoing SMTP)
Logon Information : User Name


Would this be possible (in a consistent manner?) across different
versions of Outlook? If so, how exactly would I go about it? Are there
any third party libraries like Redemption that I can use to achieve
this?


Thanks in advance,
manoj


  #6  
Old June 3rd 08, 04:22 PM posted to microsoft.public.outlook.program_vba
Guest
 
Posts: n/a
Default retrieve a list of all configured email accounts

I think you told me that last month! I'm working too hard...

--
Eric Legault [MVP - Outlook]
MCDBA, MCTS (Messaging & Collaboration, SharePoint Infrastructure, MOSS 2007
& WSS 3.0 Application Development)
Collaborative Innovations
NEW! - Try Picture Attachments Wizard 2.0 For Microsoft Outlook -
Web: http://www.collaborativeinnovations.ca
Blog: http://blogs.officezealot.com/legault


"Dmitry Streblechenko" wrote in message
...
Actually ProfMan will list only MAPI based accounts, and POP3/SMTP are no
longer MAPI based as of Outlook 2002.
You can use RDOSession.Accounts collection (Outlook 2002 and higher) -
http://www.dimastr.com/redemption/rdo/RDOAccounts.htm , it will list both
MAPI and non-MAPI accounts

--
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
-
wrote in message
...
Outlook 2007 has the NameSpace.Accounts collection to access all that
information. For prior Outlook versions, you need to use Redemption's
Profman library.

--
Eric Legault [MVP - Outlook]
MCDBA, MCTS (Messaging & Collaboration, SharePoint Infrastructure, MOSS
2007 & WSS 3.0 Application Development)
Collaborative Innovations
NEW! - Try Picture Attachments Wizard 2.0 For Microsoft Outlook -
Web: http://www.collaborativeinnovations.ca
Blog: http://blogs.officezealot.com/legault


wrote in message
...
Hi,

Is it possible to programatically access a list of all email accounts
that a user has configured in Outlook? I'm looking for details for
each configured email account including
User Information (Name, Email Address)
Server Information (incoming POP3 / IMAP, Outgoing SMTP)
Logon Information : User Name

Would this be possible (in a consistent manner?) across different
versions of Outlook? If so, how exactly would I go about it? Are there
any third party libraries like Redemption that I can use to achieve
this?

Thanks in advance,
manoj




  #7  
Old June 3rd 08, 05:35 PM posted to microsoft.public.outlook.program_vba
Dmitry Streblechenko
external usenet poster
 
Posts: 2,116
Default retrieve a list of all configured email accounts

Correct.

--
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
-
wrote in message
...
Thanks for the quick reply, Dmitry.

So what I understand is that I can use Redemption's RDO objects to do
this for all Outlook 2002 and higher versions, and for older versions
of Outlook, I will need to use Profman. Is this correct?

On Jun 3, 2:23 am, "Dmitry Streblechenko" wrote:
Actually ProfMan will list only MAPI based accounts, and POP3/SMTP are no
longer MAPI based as of Outlook 2002.
You can use RDOSession.Accounts collection (Outlook 2002 and
higher) -http://www.dimastr.com/redemption/rdo/RDOAccounts.htm, it will
list both
MAPI and non-MAPI accounts

--
Dmitry Streblechenko (MVP)http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
wrote in message

...

Outlook 2007 has the NameSpace.Accounts collection to access all that
information. For prior Outlook versions, you need to use Redemption's
Profman library.


--
Eric Legault [MVP - Outlook]
MCDBA, MCTS (Messaging & Collaboration, SharePoint Infrastructure, MOSS
2007 & WSS 3.0 Application Development)
Collaborative Innovations
NEW! - Try Picture Attachments Wizard 2.0 For Microsoft Outlook -
Web:http://www.collaborativeinnovations.ca
Blog:http://blogs.officezealot.com/legault


wrote in message
...
Hi,


Is it possible to programatically access a list of all email accounts
that a user has configured in Outlook? I'm looking for details for
each configured email account including
User Information (Name, Email Address)
Server Information (incoming POP3 / IMAP, Outgoing SMTP)
Logon Information : User Name


Would this be possible (in a consistent manner?) across different
versions of Outlook? If so, how exactly would I go about it? Are there
any third party libraries like Redemption that I can use to achieve
this?


Thanks in advance,
manoj




  #8  
Old June 3rd 08, 05:35 PM posted to microsoft.public.outlook.program_vba
Dmitry Streblechenko
external usenet poster
 
Posts: 2,116
Default retrieve a list of all configured email accounts

Nope. MS did not document the IOlkAccountManager pieces responsible for the
new account creation.

--
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
-
wrote in message
...
Also, would it be possible to programatically add a new email account
using Redemptions RDO objects?

On Jun 3, 5:43 pm, wrote:
Thanks for the quick reply, Dmitry.

So what I understand is that I can use Redemption's RDO objects to do
this for all Outlook 2002 and higher versions, and for older versions
of Outlook, I will need to use Profman. Is this correct?

On Jun 3, 2:23 am, "Dmitry Streblechenko" wrote:

Actually ProfMan will list only MAPI based accounts, and POP3/SMTP are
no
longer MAPI based as of Outlook 2002.
You can use RDOSession.Accounts collection (Outlook 2002 and
higher) -http://www.dimastr.com/redemption/rdo/RDOAccounts.htm, it will
list both
MAPI and non-MAPI accounts


--
Dmitry Streblechenko (MVP)http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
wrote in message


...


Outlook 2007 has the NameSpace.Accounts collection to access all that
information. For prior Outlook versions, you need to use
Redemption's
Profman library.


--
Eric Legault [MVP - Outlook]
MCDBA, MCTS (Messaging & Collaboration, SharePoint Infrastructure,
MOSS
2007 & WSS 3.0 Application Development)
Collaborative Innovations
NEW! - Try Picture Attachments Wizard 2.0 For Microsoft Outlook -
Web:http://www.collaborativeinnovations.ca
Blog:http://blogs.officezealot.com/legault


wrote in message
...
Hi,


Is it possible to programatically access a list of all email
accounts
that a user has configured in Outlook? I'm looking for details for
each configured email account including
User Information (Name, Email Address)
Server Information (incoming POP3 / IMAP, Outgoing SMTP)
Logon Information : User Name


Would this be possible (in a consistent manner?) across different
versions of Outlook? If so, how exactly would I go about it? Are
there
any third party libraries like Redemption that I can use to achieve
this?


Thanks in advance,
manoj




  #9  
Old June 3rd 08, 05:36 PM posted to microsoft.public.outlook.program_vba
Dmitry Streblechenko
external usenet poster
 
Posts: 2,116
Default retrieve a list of all configured email accounts

You do :-)

--
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
-
wrote in message
...
I think you told me that last month! I'm working too hard...

--
Eric Legault [MVP - Outlook]
MCDBA, MCTS (Messaging & Collaboration, SharePoint Infrastructure, MOSS
2007 & WSS 3.0 Application Development)
Collaborative Innovations
NEW! - Try Picture Attachments Wizard 2.0 For Microsoft Outlook -
Web: http://www.collaborativeinnovations.ca
Blog: http://blogs.officezealot.com/legault


"Dmitry Streblechenko" wrote in message
...
Actually ProfMan will list only MAPI based accounts, and POP3/SMTP are no
longer MAPI based as of Outlook 2002.
You can use RDOSession.Accounts collection (Outlook 2002 and higher) -
http://www.dimastr.com/redemption/rdo/RDOAccounts.htm , it will list both
MAPI and non-MAPI accounts

--
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
-
wrote in message
...
Outlook 2007 has the NameSpace.Accounts collection to access all that
information. For prior Outlook versions, you need to use Redemption's
Profman library.

--
Eric Legault [MVP - Outlook]
MCDBA, MCTS (Messaging & Collaboration, SharePoint Infrastructure, MOSS
2007 & WSS 3.0 Application Development)
Collaborative Innovations
NEW! - Try Picture Attachments Wizard 2.0 For Microsoft Outlook -
Web: http://www.collaborativeinnovations.ca
Blog: http://blogs.officezealot.com/legault


wrote in message
...
Hi,

Is it possible to programatically access a list of all email accounts
that a user has configured in Outlook? I'm looking for details for
each configured email account including
User Information (Name, Email Address)
Server Information (incoming POP3 / IMAP, Outgoing SMTP)
Logon Information : User Name

Would this be possible (in a consistent manner?) across different
versions of Outlook? If so, how exactly would I go about it? Are there
any third party libraries like Redemption that I can use to achieve
this?

Thanks in advance,
manoj





 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Email Accounts List Corren Outlook - General Queries 3 February 5th 07 07:40 PM
Outlook 2003 - I cannot retrieve e-mails for more than 4 accounts snoopdug Outlook - General Queries 3 January 17th 07 09:55 AM
how to retrieve outlook express email accounts richardqt Outlook - Installation 1 August 21st 06 10:06 PM
[outlook express] retrieve email accounts information from filesystem NeXTstep Outlook - General Queries 1 August 8th 06 04:01 PM
Configure Outlook to retrieve mail from Exchange and POP accounts Tom Goodell Outlook - Installation 1 July 10th 06 03:07 AM


All times are GMT +1. The time now is 05:19 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.