Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / April 2006

Tip: Looking for answers? Try searching our database.

Javamail and followup flags

Thread view: 
aaronfude@gmail.com - 28 Apr 2006 06:39 GMT
Hi,

When accessing an IMAP folder with Outlook, I can set different colored
flags. Does this flag the messages on the server side and can I
retrieve and change that flag via javamail?

(Alternatively, is there any flag (I'm guessing a user flag) that
javamail can set that can be displayed by Outlook?)

Very many thanks in advance!

Aaron Fude
Thomas Weidenfeller - 28 Apr 2006 08:42 GMT
> When accessing an IMAP folder with Outlook, I can set different colored
> flags. Does this flag the messages on the server side

Yes, see the RFC 2060 and RFC 3501.

> and can I
> retrieve and change that flag via javamail?

See the API documentation for the obvious javax.mail.Flags class for a
start.

/Thomas
Signature

The comp.lang.java.gui FAQ:
ftp://ftp.cs.uu.nl/pub/NEWS.ANSWERS/computer-lang/java/gui/faq
http://www.uni-giessen.de/faq/archiv/computer-lang.java.gui.faq/

aaronfude@gmail.com - 28 Apr 2006 14:42 GMT
> > When accessing an IMAP folder with Outlook, I can set different colored
> > flags. Does this flag the messages on the server side
>
> Yes, see the RFC 2060 and RFC 3501.

I think I should have had more info in my original post.

I have used Outlook to give a few messages on the IMAP server flags of
different colors. When I look at the same messages via JavaMail I see
that they are all flagged but I do not know how to get the color.
"flags.getUserFlags()" returns an array of length 0. While the source
that you directed me to indicate to me where else to look?

Thanks!

> > and can I
> > retrieve and change that flag via javamail?
[quoted text clipped - 7 lines]
> ftp://ftp.cs.uu.nl/pub/NEWS.ANSWERS/computer-lang/java/gui/faq
> http://www.uni-giessen.de/faq/archiv/computer-lang.java.gui.faq/


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.