Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

BlackBerry® Enterprise Service 10

Reply
Regular Contributor
salmanali2074
Posts: 55
Registered: ‎04-04-2012
My Device: BB Device
My Carrier: VZW & ATT

BES policy to set default email

Can the email, that is asinged on BES for a device, be set as the Default Email on device using some BES policy?  

 

 

Ali

Please use plain text.
Guru III
knottyrope
Posts: 30,117
Registered: ‎06-25-2008
My Device:

I'm rockin the BlackBerry Z30, Z10, Q10, BlackBerry Mini Stereo Speaker, 64 gig PlayBook, BlackBerry Wireless Headset HS-700

My Carrier: I am on AT&T. Please edit your Personal Profile with your DEVICE TYPE, DEVICE OS and Carrier

Re: BES policy to set default email

you can set it to be exclusive for all replies

 

What are you trying to achieve?

 




Click here to Backup the data on your BlackBerry Device! It's important, and FREE!


Click "Accept as Solution" if your problem is solved. To give thanks, click thumbs up
Click to search the Knowledge Base at BTSC and click to Read The Fabulous Manuals

BESAdmin's, please make a signature with your BES environment info.


SIM Free BlackBerry Unlocking FAQ
Follow me on Twitter @knottyrope


Want to thank me? Buy my KnottyRope App here


BES 5.0.4 and BES 10.2.2 with Exchange 2010 and SQL 2008


Please use plain text.
Regular Contributor
salmanali2074
Posts: 55
Registered: ‎04-04-2012
My Device: BB Device
My Carrier: VZW & ATT

Re: BES policy to set default email

How can we set it as exclusive? may be this can help us.

We have an application that requires to use BES email, that was assigned on BES for the device, but for one device we found a different email other then BES email.

Our application first capture the default email, if not find then pick the last email from CMIME list. And in case of the incorrect device we get an email that is not same as the one assigned on BES for that device.

Please advise.
Please use plain text.
Guru III
knottyrope
Posts: 30,117
Registered: ‎06-25-2008
My Device:

I'm rockin the BlackBerry Z30, Z10, Q10, BlackBerry Mini Stereo Speaker, 64 gig PlayBook, BlackBerry Wireless Headset HS-700

My Carrier: I am on AT&T. Please edit your Personal Profile with your DEVICE TYPE, DEVICE OS and Carrier

Re: BES policy to set default email

mabe user changed it on device

 

How to change the default email account on the BlackBerry smartphone

 

 




Click here to Backup the data on your BlackBerry Device! It's important, and FREE!


Click "Accept as Solution" if your problem is solved. To give thanks, click thumbs up
Click to search the Knowledge Base at BTSC and click to Read The Fabulous Manuals

BESAdmin's, please make a signature with your BES environment info.


SIM Free BlackBerry Unlocking FAQ
Follow me on Twitter @knottyrope


Want to thank me? Buy my KnottyRope App here


BES 5.0.4 and BES 10.2.2 with Exchange 2010 and SQL 2008


Please use plain text.
Regular Contributor
salmanali2074
Posts: 55
Registered: ‎04-04-2012
My Device: BB Device
My Carrier: VZW & ATT

Re: BES policy to set default email

Do not want to change the default email manually for each device. That's why I am looking for some BES policy to set/fix the BES email as default.
Please use plain text.
Guru III
knottyrope
Posts: 30,117
Registered: ‎06-25-2008
My Device:

I'm rockin the BlackBerry Z30, Z10, Q10, BlackBerry Mini Stereo Speaker, 64 gig PlayBook, BlackBerry Wireless Headset HS-700

My Carrier: I am on AT&T. Please edit your Personal Profile with your DEVICE TYPE, DEVICE OS and Carrier

Re: BES policy to set default email

Allow Other Message Services "Service Exclusivity" No

 

That will disable BIS personal emails on user devices but you should tell them to set the default with the directions I sent you.

 

Write a Corporate policy to reflect it

 




Click here to Backup the data on your BlackBerry Device! It's important, and FREE!


Click "Accept as Solution" if your problem is solved. To give thanks, click thumbs up
Click to search the Knowledge Base at BTSC and click to Read The Fabulous Manuals

BESAdmin's, please make a signature with your BES environment info.


SIM Free BlackBerry Unlocking FAQ
Follow me on Twitter @knottyrope


Want to thank me? Buy my KnottyRope App here


BES 5.0.4 and BES 10.2.2 with Exchange 2010 and SQL 2008


Please use plain text.
Regular Contributor
salmanali2074
Posts: 55
Registered: ‎04-04-2012
My Device: BB Device
My Carrier: VZW & ATT

Re: BES policy to set default email

[ Edited ]

Does this policy force to remove the old emails (same company domain email) from the device when admin changes/assigns new email for the device. 

 

Because, we found a device which has other email 'user-old@company.com' as default, but admin had changed the email for the device to 'user-new@company.com' on BES.

 

Our application gets default email 'user-old@company.com' from the device. We are using the method define here: 

http://supportforums.blackberry.com/t5/Java-Development/Retrieve-the-default-email-address-for-the-d...

 

We also check the CMIME list and can see the email 'user-new@company.com' on device, but not default.

 

The issue is, the returned default address is different then the active email that was set on BES for the device now. So we want to retrive the BES active email address from the device, and it does not matter if BES email is not the default on the device 

 

Any idea please.

 

Ali

Please use plain text.
Regular Contributor
salmanali2074
Posts: 55
Registered: ‎04-04-2012
My Device: BB Device
My Carrier: VZW & ATT

Re: BES policy to set default email

I think there is no policy on BES to set the current email as default on the device. 

 

But 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@MyCompanyDomain.com,CMIME, BISE06C14S07)
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@MyCompanyDomain.com, CMIME, BISE06C14S07)
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@MyCompanyDomain.com, CMIME, BISE06C14S06)
Email found [1]: :username@MyCompanyDomain.com(username@MyCompanyDomain.com, CMIME, BISE06C14S07)
Email found [2]: :username@yahoo.com(username@yahoo.com, CMIME, BISE06C14S04)
Email found [3]: :username@hotmail.com(username@hotmail.com, CMIME, BISE06C14S09)

 

 

Please use plain text.
Guru III
knottyrope
Posts: 30,117
Registered: ‎06-25-2008
My Device:

I'm rockin the BlackBerry Z30, Z10, Q10, BlackBerry Mini Stereo Speaker, 64 gig PlayBook, BlackBerry Wireless Headset HS-700

My Carrier: I am on AT&T. Please edit your Personal Profile with your DEVICE TYPE, DEVICE OS and Carrier

Re: BES policy to set default email

 (company has a policy that users are not allowed to add personal emails account on device)

 

So why not set exclusive in IT policy so they cant add them in?

 




Click here to Backup the data on your BlackBerry Device! It's important, and FREE!


Click "Accept as Solution" if your problem is solved. To give thanks, click thumbs up
Click to search the Knowledge Base at BTSC and click to Read The Fabulous Manuals

BESAdmin's, please make a signature with your BES environment info.


SIM Free BlackBerry Unlocking FAQ
Follow me on Twitter @knottyrope


Want to thank me? Buy my KnottyRope App here


BES 5.0.4 and BES 10.2.2 with Exchange 2010 and SQL 2008


Please use plain text.
Regular Contributor
salmanali2074
Posts: 55
Registered: ‎04-04-2012
My Device: BB Device
My Carrier: VZW & ATT

Re: BES policy to set default email

[ Edited ]


You didn't see Scenario 4, when the device can have multiple emails with same domain and last/old email is set to default.

 

If the device can only have one email with MyCompanyDomain address then we can hard code to pick only the address ending with @MyCompanyDomain.com

 

A device has multiple emails ending with @MyCompanyDomain.com and the lastest email that is set on BES for the device is not the default on device at this time. And some other old email ending with @MyCompanyDomain.com is the default one on device. Also we cannot change default manually for each device.

 

Hope you understand. 

Please use plain text.