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

Java Development

Reply
Developer
Posts: 68
Registered: ‎07-21-2008
My Device: Not Specified

How to retrive which email id's are configured?

Consider I have configured my Hotmail, Yahoo etc email id's, how could I do it?

 

The method Session.getDefaultInstance.getServiceConfiguration().getEmailAddress() which email ID returns?

 

 

BlackBerry Development Advisor
Posts: 15,125
Registered: ‎07-09-2008
My Device: BlackBerry Passport
My Carrier: Bell

Re: How to retrive which email id's are configured?

You can ge this information from the service records in the service book.  Please have a look at the link below.

 

How To – Send a message from a non-default email address
Article Number: DB-00561

http://www.blackberry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800332/800698/How_To_...

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker
Developer
Posts: 68
Registered: ‎07-21-2008
My Device: Not Specified

Re: How to retrive which email id's are configured?

Thank you very much for your reply.

 Still my second question is unanswered..

The method Session.getDefaultInstance.getServiceConfiguration().getEmailAddress() which email ID returns?

 

Thanks in advance...

BlackBerry Development Advisor
Posts: 15,125
Registered: ‎07-09-2008
My Device: BlackBerry Passport
My Carrier: Bell

Re: How to retrive which email id's are configured?

This returns the email address of the default email account.  This is set by the user under Options, (Advanced Options), Default Services.
Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker