File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 Murach's Java Servlets and JSP this week in the Servlets 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
Author

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
Marshal

Joined: Mar 22, 2005
Posts: 41073
    
  43
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: http://aspose.com/file-tools
 
subject: JavaMail: set the priority of email
 
Similar Threads
Executor runnable priority
Joining Thread, Explanation required
priority
Thread priority
very urgent - threads