File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Java SE 8 for the Really Impatient
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).
Ping & DNS, my free Android app for network diagnostics
I agree. Here's the link:
subject: JavaMail: set the priority of email
Joining Thread, Explanation required
very urgent - threads
Executor runnable priority
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014