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
New Contributor
SakshiDeveloper
Posts: 3
Registered: ‎04-25-2012
My Device: 9860

Deleting emails from the blackberry device

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

Please use plain text.
Developer
RexDoug
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.

 

Please use plain text.