A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
The Software Craftsman
this week in the
Other JSE/JEE APIs
JavaMail: set the priority of email
Joined: Sep 27, 2004
Jan 29, 2008 10:15:00
In my sendEmail program, i use
mail. I use the following code to set the priority of the email as Low/High/Normal.
msg.setHeader("X-Priority", "High") ;
However, when the email is sent, i dont see the "!" sign in the email in the inbox. what could be wrong?
SCJP 1.4, SCWCD 1.4<br /> <br />Thanks in advance!<br />Jayashree.
Joined: Mar 22, 2005
Jan 29, 2008 11:09:00
X-Priority values are generally numbers like 1 (for highest priority), 3 (normal) and 5 (lowest).
I agree. Here's the link:
subject: JavaMail: set the priority of email
Executor runnable priority
very urgent - threads
Joining Thread, Explanation required
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015