A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
The Mikado Method
this week in the
Agile and other Processes
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).
Java web charts
I agree. Here's the link:
- if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
subject: JavaMail: set the priority of email
Joining Thread, Explanation required
Executor runnable priority
very urgent - threads
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013