Solved

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

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

Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
Viewers learn about the third conditional statement “else if” and use it in an example program. Then additional information about conditional statements is provided, covering the topic thoroughly. Viewers learn about the third conditional statement …
Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…

895 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

17 Experts available now in Live!

Get 1:1 Help Now