File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Other JSE/JEE APIs and the fly likes JavaMail: set the priority of email Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of JavaScript Promises Essentials this week in the JavaScript forum!
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "JavaMail: set the priority of email" Watch "JavaMail: set the priority of email" New topic

JavaMail: set the priority of email

JayaSiji Gopal
Ranch Hand

Joined: Sep 27, 2004
Posts: 303
In my sendEmail program, i use java mail. I use the following code to set the priority of the email as Low/High/Normal.

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

Joined: Mar 22, 2005
Posts: 42592
X-Priority values are generally numbers like 1 (for highest priority), 3 (normal) and 5 (lowest).

Ping & DNS - my free Android networking tools app
I agree. Here's the link:
subject: JavaMail: set the priority of email