Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 302
  • Last Modified:

incorrect email link for a particular user only

Hi

I am working on creating a custom inbox webpage for our users who have Microsoft Exchange (2007) account. I am using C# for coding the webpage and to query the inbox from exchange.

I query the inbox using impersonation administrator account.
The links to individual emails are the following format
https://webmail.domainname.com/owa/?ae=Item&t=IPM.Note&id=[email_id_value]

https://webmail.domainname.com/owa/?ae=Item&t=IPM.Note&id=RgAAAADFEl8X2NnXQaTDQFnEqIaCBwBemaYOYoxGRJcgpvNJ1%2fqAropxCd1xAABemsEtYoxGRJcgpvNJ1%2fqAACe9fWYTAAJ

this user’s id for all emails is different from the email_id_value that I get from emailObject.id.

But for all other users the email_id_value are the same that I get from emailObject.id.

Please help me getting correct email_id_value for this user.

Thanks
Anumit
0
anumit
Asked:
anumit
  • 3
1 Solution
 
George SasIT EngineerCommented:
I think you are posting in the wrong forum here but you never know :)

Have you tried to actually what is different at this user compared with other users ?
You could use ADSIEDIT and look at this users attributes compared to one that is working.
You might find a glitch there.
0
 
anumitAuthor Commented:
used convert function
0
 
anumitAuthor Commented:
convertid function
0
 
anumitAuthor Commented:
convertid function works
0

Featured Post

Get free NFR key for Veeam Availability Suite 9.5

Veeam is happy to provide a free NFR license (1 year, 2 sockets) to all certified IT Pros. The license allows for the non-production use of Veeam Availability Suite v9.5 in your home lab, without any feature limitations. It works for both VMware and Hyper-V environments

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now