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. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Java Development

Reply
Trusted Contributor
ashish12169
Posts: 212
Registered: ‎03-18-2012
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)....

  

Please use plain text.
Developer
simon_hain
Posts: 14,064
Registered: ‎07-29-2008
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
Please use plain text.
Trusted Contributor
ashish12169
Posts: 212
Registered: ‎03-18-2012
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

Please use plain text.
Developer
simon_hain
Posts: 14,064
Registered: ‎07-29-2008
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
Please use plain text.