Solved

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

Posted on 2004-09-08
5
999 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
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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
java.io.BufferedReader   readLine()  //returns the entire file ? 4 72
java stored proc example 9 29
Tomcat: Unable to run tomcat service. 2 18
jsp login check 12 28
Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.

813 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

11 Experts available now in Live!

Get 1:1 Help Now