[Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1081
  • Last Modified:

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

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
nubee
Asked:
nubee
  • 2
1 Solution
 
CEHJCommented:
Flag for followup, i'm pretty sure, is application specific/ proprietary
0
 
nubeeAuthor Commented:
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
 
CEHJCommented:
>>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

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now