01-21-2013 12:03 PM
Is it possible that a default email address could be different then the email used for BES registration on the device.
Is there a way to find an email that was used for BES registration on the device?
Thanks
Ali
01-22-2013 03:20 AM
01-22-2013 12:10 PM
01-24-2013 12:34 PM
Sorry to add this response again here. I have mentioned this on BES forum as well.
Looking for someone, if agrees on this below logic to pick correct BES email from a device.
We found another way to pick the last assinged/added email on device through BES (company has a policy that users are not allowed to add personal emails account on device).
We searched the CMIME list on device and found that the last added email (work email) is always at 0th index in the list. We can assume that if a device is given to a new employee and BES admin assigns new email/user for that device then the new email will be on index [0] in CMIME list on the device as 'Scenario 4' below.
Here is log when we tested on a device:
Scenario 1:
Emails on the device are: Hotmail, Yahoo, MyCompanyDomain
Default email found: :username@MyCompanyDomain.com
--CMIME-LIST--:
Email found [0]: :username@yahoo.com(username@yahoo.com, CMIME, BISE06C14S04)
Email found [1]: :username@MyCompanyDomain.com(username@MyCompanyDo
Email found [2]: :username@hotmail.com(username@hotmail.com, CMIME,BISE06C14S09)
Scenario 2:
Emails on the device are: Hotmail, Yahoo, deleted MyCompanyDomain
Default email found: :username@yahoo.com
--CMIME-LIST--:
Email found [0]: :username@yahoo.com(username@yahoo.com, CMIME, BISE06C14S04)
Email found [1]: :username@hotmail.com(username@hotmail.com, CMIME,BISE06C14S09)
Scenario 3:
Emails on the device are: Hotmail, Yahoo, added MyCompanyDomain
Default email found: :username@yahoo.com
--CMIME-LIST--:
Email found [0]: :username@MyCompanyDomain.com(username@MyCompanyDo
Email found [1]: :username@yahoo.com(username@yahoo.com, CMIME, BISE06C14S04)
Email found [2]: :username@hotmail.com(username@hotmail.com, CMIME, BISE06C14S09)
Scenario 4:
Emails on the device are: Hotmail, Yahoo, MyCompanyDomain added new user2name for MyCompanyDomain
Default email found: :username@yahoo.com
--CMIME-LIST--:
Email found [0]: :user2name@MyCompanyDomain.com(user2name@MyCompany
Email found [1]: :username@MyCompanyDomain.com(username@MyCompanyDo
Email found [2]: :username@yahoo.com(username@yahoo.com, CMIME, BISE06C14S04)
Email found [3]: :username@hotmail.com(username@hotmail.com, CMIME, BISE06C14S09)
01-25-2013 03:08 AM