A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
Win a copy of
The Mikado Method
this week in the
Agile and other Processes
forum!
JavaRanch
»
Java Forums
»
Java
»
Other JSE/JEE APIs
Author
JavaMail: set the priority of email
JayaSiji Gopal
Ranch Hand
Joined: Sep 27, 2004
Posts: 303
posted
Jan 29, 2008 10:15:00
0
In my sendEmail program, i use
java
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.
Ulf Dittmer
Marshal
Joined: Mar 22, 2005
Posts: 35250
7
posted
Jan 29, 2008 11:09:00
0
X-Priority values are generally numbers like 1 (for highest priority), 3 (normal) and 5 (lowest).
Android apps
–
ImageJ plugins
–
Java web charts
I agree. Here's the link:
http://ej-technologies/jprofiler
- 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
Similar Threads
Thread priority
Joining Thread, Explanation required
Executor runnable priority
very urgent - threads
priority
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter