Solved

How to Flag for Follow Up using Java Mail, SMTP in a Java program

Posted on 2004-09-08
5
971 Views
Last Modified: 2013-11-24
I have a java program which sends emails to client reminding to renew their contract. I am using Java Mail API, core Java and  SMTP.

I want the emails to be sent with a Flag for follow up for 5days. So Until I receive any acknowledgement from them it should keep bugging them to respond. Its same as Outlook Flag for followup. Tools->Actions->Flag for followup.

I am wondering if it is even possible to accomadate that feature using java and Java Mail?

Any help is greatly appreciated,

Thank You so much
Nubee

0
Comment
Question by:nubee
  • 2
5 Comments
 
LVL 86

Expert Comment

by:CEHJ
Comment Utility
Flag for followup, i'm pretty sure, is application specific/ proprietary
0
 

Author Comment

by:nubee
Comment Utility
CEHJ, Thanks for responding.

In Outlook there is Message Priority like Importance: High with "!" RED Mark for important messages. I added that feature in the java program using msg.addHeader("X-Priority","1")

And also When I was going through the documentation of javax.mail I found methods called getFlags() and setFlags() under MimeMessage, dont you think those were realted to Flag Follow-up in Outlook?

Is it possible in any other Mail API's?
0
 
LVL 86

Accepted Solution

by:
CEHJ earned 90 total points
Comment Utility
>>msg.addHeader("X-Priority","1")

The above (i'm just guessing now) is probably an accepted (or almost) accepted extension to the standard.


>>dont you think those were realted to Flag Follow-up in Outlook?

No. Here are some of the possible flag values:

Flags.Flag, Flags.Flag.ANSWERED, Flags.Flag.DELETED, Flags.Flag.DRAFT, Flags.Flag.FLAGGED, Flags.Flag.RECENT, Flags.Flag.SEEN
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Suggested Solutions

Java had always been an easily readable and understandable language.  Some relatively recent changes in the language seem to be changing this pretty fast, and anyone that had not seen any Java code for the last 5 years will possibly have issues undeā€¦
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilationā€¦
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now