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
fanmanga
Posts: 3
Registered: ‎04-28-2012
My Device: 9300
My Carrier: 9300
Accepted Solution

How to set Mash as read by code

Hi all.

I have a problem with filter mail application. I want to mash as read mail automatically after received new mail.

Can u help me. Thank in advance :smileyhappy:

Please use plain text.
Developer
peter_strange
Posts: 19,599
Registered: ‎07-14-2008
My Device: Not Specified

Re: How to set Mash as read by code

Sorry I don't undersand, can you ask this question another way?  What is "mash as read mail"?

Please use plain text.
New Contributor
fanmanga
Posts: 3
Registered: ‎04-28-2012
My Device: 9300
My Carrier: 9300

Re: How to set Mash as read by code

Sorry, "Mark as read" not "Mash".

I had a solution

 

msg.setStatus(Message.Status.TX_READ, Message.Status.RX_RECEIVED);
msg.setFlag(Message.Flag.OPENED, true);

 

Thank for reply :smileyhappy:

Please use plain text.