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.
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 ]