dcsimg
Read attachment type with flag status change
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Abraham_Panicker
Posted On:   Monday, February 25, 2002 05:00 PM

Hi,
One of our requirement for the WAP display is to show attachment type.
That is if an email has a sound file type as attachment, I would show it
with a 'V' flag in the email headers on the WAP display. However when I
use the getContent() method of the message class, the email flag status
changes from '/New' to '/Seen'. I am trying for ways using JavaMail to
read the file type attachment without changing the email status to
'/Seen'. Are there any methods I can use so that status flags do not change

Abraham

Re: Read attachment type with flag status change

Posted By:   Rajiv_Singh  
Posted On:   Thursday, March 14, 2002 06:36 AM

Dear Friend It depends on ur code how u
handle the flags there is

msg.setFlag(Flags.Flag.SEEN,true);
if u will not set this flag the
message will never be seen




Rajiv Singh
About | Sitemap | Contact