Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Priorities in JavaMail  RSS feed

 
Jared Krull
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi I'm new to the board....
I have a servlet that sends mails to my server's SMTP server. I have tested it with a few addresses, but one in perticular does not work. My WebHost said to raise the mail's priority to high, as it seems the mails are being sent ok - just not recieved.
Can I raise priority with JavaMail? I have looked on Sun but cant find what I need.
Any help would be great
TIA
 
Jared Krull
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Doesnt matter...I think Ive got it....
I think you need to add something extra to the message before sending. For anyone interested;
MimeMessage message;
message.addHeader("X-Priority", "1");
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!