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

New Contributor
Posts: 3
Registered: ‎04-25-2012
My Device: 9860
My Carrier: Airtel

Deleting emails from the blackberry device

Hi! I want to delete emails stored on blackberry device through my application. Please help!

Posts: 4,764
Registered: ‎07-21-2008
My Device: Not Specified

Re: Deleting emails from the blackberry device

That's a complicated subject for such a general question.


You first need a reference to the inbound mail store.


See ServiceBook, ServiceConfiguration, Session, and Store.


Once you have a reference to the email store, you'll need a reference to the specific message to remove. See Message in the javadocs.


Do some research and come back with more specific questions.