A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
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
subject: JavaMail: set the priority of email
very urgent - threads
Executor runnable priority
Joining Thread, Explanation required
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013