Hello Friends, I am working on one application where I need to use JavaMail API for sending mail. I want to send an e-mail on specific events. Actual requirement is for certain events I need to set the priority of mails to 'high' and for other events it should be 'Low' or 'Medeium' When I was going through JavaMail API documentation (javax.mail and javax.mail.internet)I could not see any facility to do so. I might have missed something out there.
So, question is How to set priorities for mails while sending using JavaMail API.
Just want to know whether these header values are specific to MS-Outlook or they remain the same across all the mail applications.
Joined: Mar 22, 2005
It's pretty standardized (and understood by mail clients) the way I described it. You can test whether your client does something different by sending yourself messages of all 3 levels, and then looking at the raw headers. [ April 18, 2008: Message edited by: Ulf Dittmer ]
Joined: Aug 27, 2004
Yes It's working.I have tested this in my application & I could see mails with different priorities.