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 » Add-ins for Outlook
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Google MAPI account



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old February 3rd 10, 07:09 PM posted to microsoft.public.outlook.program_addins
Esteban
external usenet poster
 
Posts: 6
Default Google MAPI account

Hello,

I've developed a COM add-in that works with OL 2003/07 in C# .Net 2.0.

When OL starts I need to retrieve the list of OL accounts available in the
current OL Profile. For each account, I need to obtain the associated
SMTP-format email address.

The code I have works well for POP, EXCHANGE, HTTP (hotmail), and IMAP
accounts. However, I found a MAPI type that I cannot resolve. This account
was created in OL when the user installed the "Google Apps Sync" add-in for
Outlook available thru their Google Apps Premier account
(https://tools.google.com/dlpage/gappssync). By the way, I say MAPI because
this is how Outlook displays it when the user opens the “Accounts Settings”
dialog (OL07) and the account is described as Type “MAPI”.

The code I have scans the Profile details in the registry for the
CurrentUser hive. I’m adding some details here in case it helps (I can add
more if needed). First I get the Profile details from the corresponding entry
in this key:
Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging
Subsystem\Profiles
And then I get the related subkey/value
9375CFF0413111d3B88A00104B2A6676/{ED475418-B0D6-11D2-8C3B-00104B2A6676},
which gets me the final key where the details for the account are available
(typically “0000001” or something like that)

In this final account key I can access values like “Account Name”, which
retrieves the correct information, but compared to POP/EX/IMAP I cannot find
a value that will get me the e-mail address. For example, for a POP or IMAP
account I can get the “Email” value (along with “POP3 User” or “IMAP User”
correspondingly and other like that); for an EX account I get “Identity Eid”,
which gives me the Exchange id used later to retrieve the list of associated
SMTP e-mail addresses.

So, as I said, this works for all types of accounts except for this MAPI
account. Other than the “Account Name” value, none of the other values give
me something useful. Value names that I see in this type of account are “Mini
UID”, “Service Name”, and “Service UID”, but I cannot make any sense of the
binary data stored in these values.

Any hints on how to obtain the associated SMTP-format e-mail address of this
MAPI account?

Thank you in advance

E

Ads
  #2  
Old February 3rd 10, 10:12 PM posted to microsoft.public.outlook.program_addins
Dmitry Streblechenko
external usenet poster
 
Posts: 2,116
Default Google MAPI account

Have you tried to use regmon to see where the date is stored after you set
it in the UI?

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

I've developed a COM add-in that works with OL 2003/07 in C# .Net 2.0.

When OL starts I need to retrieve the list of OL accounts available in the
current OL Profile. For each account, I need to obtain the associated
SMTP-format email address.

The code I have works well for POP, EXCHANGE, HTTP (hotmail), and IMAP
accounts. However, I found a MAPI type that I cannot resolve. This account
was created in OL when the user installed the "Google Apps Sync" add-in
for
Outlook available thru their Google Apps Premier account
(https://tools.google.com/dlpage/gappssync). By the way, I say MAPI
because
this is how Outlook displays it when the user opens the "Accounts
Settings"
dialog (OL07) and the account is described as Type "MAPI".

The code I have scans the Profile details in the registry for the
CurrentUser hive. I'm adding some details here in case it helps (I can add
more if needed). First I get the Profile details from the corresponding
entry
in this key:
Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging
Subsystem\Profiles
And then I get the related subkey/value
9375CFF0413111d3B88A00104B2A6676/{ED475418-B0D6-11D2-8C3B-00104B2A6676},
which gets me the final key where the details for the account are
available
(typically "0000001" or something like that)

In this final account key I can access values like "Account Name", which
retrieves the correct information, but compared to POP/EX/IMAP I cannot
find
a value that will get me the e-mail address. For example, for a POP or
IMAP
account I can get the "Email" value (along with "POP3 User" or "IMAP User"
correspondingly and other like that); for an EX account I get "Identity
Eid",
which gives me the Exchange id used later to retrieve the list of
associated
SMTP e-mail addresses.

So, as I said, this works for all types of accounts except for this MAPI
account. Other than the "Account Name" value, none of the other values
give
me something useful. Value names that I see in this type of account are
"Mini
UID", "Service Name", and "Service UID", but I cannot make any sense of
the
binary data stored in these values.

Any hints on how to obtain the associated SMTP-format e-mail address of
this
MAPI account?

Thank you in advance

E



  #3  
Old February 4th 10, 02:53 PM posted to microsoft.public.outlook.program_addins
Esteban
external usenet poster
 
Posts: 6
Default Google MAPI account

Hi Dmitri,

Thank you for your comment.

I was afraid that I was going to get that type of answer. I was hoping
someone had already been thru this.

Someone else suggested I should attempt to query the plugin itself (GSync in
this case). I have never done something like that. Any recommendations on
what interfaces it should expose in order to support basic Outlook
functionality?

Thanks again,

E

"Dmitry Streblechenko" wrote:

Have you tried to use regmon to see where the date is stored after you set
it in the UI?

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

I've developed a COM add-in that works with OL 2003/07 in C# .Net 2.0.

When OL starts I need to retrieve the list of OL accounts available in the
current OL Profile. For each account, I need to obtain the associated
SMTP-format email address.

The code I have works well for POP, EXCHANGE, HTTP (hotmail), and IMAP
accounts. However, I found a MAPI type that I cannot resolve. This account
was created in OL when the user installed the "Google Apps Sync" add-in
for
Outlook available thru their Google Apps Premier account
(https://tools.google.com/dlpage/gappssync). By the way, I say MAPI
because
this is how Outlook displays it when the user opens the "Accounts
Settings"
dialog (OL07) and the account is described as Type "MAPI".

The code I have scans the Profile details in the registry for the
CurrentUser hive. I'm adding some details here in case it helps (I can add
more if needed). First I get the Profile details from the corresponding
entry
in this key:
Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging
Subsystem\Profiles
And then I get the related subkey/value
9375CFF0413111d3B88A00104B2A6676/{ED475418-B0D6-11D2-8C3B-00104B2A6676},
which gets me the final key where the details for the account are
available
(typically "0000001" or something like that)

In this final account key I can access values like "Account Name", which
retrieves the correct information, but compared to POP/EX/IMAP I cannot
find
a value that will get me the e-mail address. For example, for a POP or
IMAP
account I can get the "Email" value (along with "POP3 User" or "IMAP User"
correspondingly and other like that); for an EX account I get "Identity
Eid",
which gives me the Exchange id used later to retrieve the list of
associated
SMTP e-mail addresses.

So, as I said, this works for all types of accounts except for this MAPI
account. Other than the "Account Name" value, none of the other values
give
me something useful. Value names that I see in this type of account are
"Mini
UID", "Service Name", and "Service UID", but I cannot make any sense of
the
binary data stored in these values.

Any hints on how to obtain the associated SMTP-format e-mail address of
this
MAPI account?

Thank you in advance

E



.

  #4  
Old February 4th 10, 05:09 PM posted to microsoft.public.outlook.program_addins
Dmitry Streblechenko
external usenet poster
 
Posts: 2,116
Default Google MAPI account

I would not go that route - if it s a transport provider, it would not have
to expose any data (name, address, etc) - all Outlook does is say "here is
the message, send it and let me know when you are done"

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

Thank you for your comment.

I was afraid that I was going to get that type of answer. I was hoping
someone had already been thru this.

Someone else suggested I should attempt to query the plugin itself (GSync
in
this case). I have never done something like that. Any recommendations on
what interfaces it should expose in order to support basic Outlook
functionality?

Thanks again,

E

"Dmitry Streblechenko" wrote:

Have you tried to use regmon to see where the date is stored after you
set
it in the UI?

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

I've developed a COM add-in that works with OL 2003/07 in C# .Net 2.0.

When OL starts I need to retrieve the list of OL accounts available in
the
current OL Profile. For each account, I need to obtain the associated
SMTP-format email address.

The code I have works well for POP, EXCHANGE, HTTP (hotmail), and IMAP
accounts. However, I found a MAPI type that I cannot resolve. This
account
was created in OL when the user installed the "Google Apps Sync" add-in
for
Outlook available thru their Google Apps Premier account
(https://tools.google.com/dlpage/gappssync). By the way, I say MAPI
because
this is how Outlook displays it when the user opens the "Accounts
Settings"
dialog (OL07) and the account is described as Type "MAPI".

The code I have scans the Profile details in the registry for the
CurrentUser hive. I'm adding some details here in case it helps (I can
add
more if needed). First I get the Profile details from the corresponding
entry
in this key:
Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging
Subsystem\Profiles
And then I get the related subkey/value
9375CFF0413111d3B88A00104B2A6676/{ED475418-B0D6-11D2-8C3B-00104B2A6676},
which gets me the final key where the details for the account are
available
(typically "0000001" or something like that)

In this final account key I can access values like "Account Name",
which
retrieves the correct information, but compared to POP/EX/IMAP I cannot
find
a value that will get me the e-mail address. For example, for a POP or
IMAP
account I can get the "Email" value (along with "POP3 User" or "IMAP
User"
correspondingly and other like that); for an EX account I get "Identity
Eid",
which gives me the Exchange id used later to retrieve the list of
associated
SMTP e-mail addresses.

So, as I said, this works for all types of accounts except for this
MAPI
account. Other than the "Account Name" value, none of the other values
give
me something useful. Value names that I see in this type of account are
"Mini
UID", "Service Name", and "Service UID", but I cannot make any sense of
the
binary data stored in these values.

Any hints on how to obtain the associated SMTP-format e-mail address of
this
MAPI account?

Thank you in advance

E



.



  #5  
Old February 8th 10, 07:56 PM posted to microsoft.public.outlook.program_addins
Esteban
external usenet poster
 
Posts: 6
Default Google MAPI account

Hi Dmitry,

Thank you for your comments. I will post back here if I find a solution.

E

"Dmitry Streblechenko" wrote:

I would not go that route - if it s a transport provider, it would not have
to expose any data (name, address, etc) - all Outlook does is say "here is
the message, send it and let me know when you are done"

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

Thank you for your comment.

I was afraid that I was going to get that type of answer. I was hoping
someone had already been thru this.

Someone else suggested I should attempt to query the plugin itself (GSync
in
this case). I have never done something like that. Any recommendations on
what interfaces it should expose in order to support basic Outlook
functionality?

Thanks again,

E

"Dmitry Streblechenko" wrote:

Have you tried to use regmon to see where the date is stored after you
set
it in the UI?

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

I've developed a COM add-in that works with OL 2003/07 in C# .Net 2.0.

When OL starts I need to retrieve the list of OL accounts available in
the
current OL Profile. For each account, I need to obtain the associated
SMTP-format email address.

The code I have works well for POP, EXCHANGE, HTTP (hotmail), and IMAP
accounts. However, I found a MAPI type that I cannot resolve. This
account
was created in OL when the user installed the "Google Apps Sync" add-in
for
Outlook available thru their Google Apps Premier account
(https://tools.google.com/dlpage/gappssync). By the way, I say MAPI
because
this is how Outlook displays it when the user opens the "Accounts
Settings"
dialog (OL07) and the account is described as Type "MAPI".

The code I have scans the Profile details in the registry for the
CurrentUser hive. I'm adding some details here in case it helps (I can
add
more if needed). First I get the Profile details from the corresponding
entry
in this key:
Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging
Subsystem\Profiles
And then I get the related subkey/value
9375CFF0413111d3B88A00104B2A6676/{ED475418-B0D6-11D2-8C3B-00104B2A6676},
which gets me the final key where the details for the account are
available
(typically "0000001" or something like that)

In this final account key I can access values like "Account Name",
which
retrieves the correct information, but compared to POP/EX/IMAP I cannot
find
a value that will get me the e-mail address. For example, for a POP or
IMAP
account I can get the "Email" value (along with "POP3 User" or "IMAP
User"
correspondingly and other like that); for an EX account I get "Identity
Eid",
which gives me the Exchange id used later to retrieve the list of
associated
SMTP e-mail addresses.

So, as I said, this works for all types of accounts except for this
MAPI
account. Other than the "Account Name" value, none of the other values
give
me something useful. Value names that I see in this type of account are
"Mini
UID", "Service Name", and "Service UID", but I cannot make any sense of
the
binary data stored in these values.

Any hints on how to obtain the associated SMTP-format e-mail address of
this
MAPI account?

Thank you in advance

E



.



.

 




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
configure MAPI mail account ron.angus Outlook - Installation 1 July 3rd 08 04:11 AM
Google Outlook Add-in hash Outlook - General Queries 3 August 21st 07 09:39 AM
setup ical in google so the google calendar gman13090 Outlook - Calandaring 1 June 24th 07 07:20 AM
Google Groups Alistair.Sim Outlook - General Queries 0 February 3rd 07 07:26 PM
google yms Outlook Express 2 October 21st 06 11:14 PM


All times are GMT +1. The time now is 08:21 AM.


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.