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: 214
Registered: ‎03-18-2012
My Device: 8520
My Carrier: Company
Accepted Solution

Blackberry can we delete emails immediately while receiving

Hi,

            i want to delete emails immediately while it enter into device after checking the Emailaddress(TO)....

  

Developer
Posts: 16,997
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport
My Carrier: O2 Germany

Re: Blackberry can we delete emails immediately while receiving

you get access to them when they are added to the relevant inbox folder.
----------------------------------------------------------
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter
Developer
Posts: 214
Registered: ‎03-18-2012
My Device: 8520
My Carrier: Company

Re: Blackberry can we delete emails immediately while receiving

Thanx to replay

                          

                            Store s = Session.waitForDefaultSession().getStore();

                            Folder[] folders = s.list(Folder.INBOX);

                           

                            with this i get two folder of  type inbox i think one for emails and other for PIn messages is there                                         any way i get only inbox for email or i get sure i register  the folder listener with emails Inbox

Highlighted
Developer
Posts: 16,997
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport
My Carrier: O2 Germany

Re: Blackberry can we delete emails immediately while receiving

check this KB
http://www.blackberry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800332/800698/What_Is...
----------------------------------------------------------
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter