Solved

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

Posted on 2004-09-08
5
1,023 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
5 Comments
 
LVL 86

Expert Comment

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

Author Comment

by:nubee
ID: 12010859
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
ID: 12011009
>>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

What Is Transaction Monitoring and who needs it?

Synthetic Transaction Monitoring that you need for the day to day, which ensures your business website keeps running optimally, and that there is no downtime to impact your customer experience.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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…
I had a project requirement for a displaying a user workbench .This workbench would consist multiple data grids .In each grid the user will be able to see a large number of data. These data grids should allow the user to 1. Sort 2. Export the …
Video by: Michael
Viewers learn about how to reduce the potential repetitiveness of coding in main by developing methods to perform specific tasks for their program. Additionally, objects are introduced for the purpose of learning how to call methods in Java. Define …
The viewer will learn how to implement Singleton Design Pattern in Java.

726 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