Manning's Countdown to 2014
. Use discount code crdotd14 all month for 50% off every deal.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Other JSE/JEE APIs
regarding sending special characters subject line in mail
Joined: Jun 24, 2002
Jul 26, 2004 03:45:00
I am having a simple
program for sending mail. I want to use utf-8 bit encoding for special characters. The problem is when the message and subject contains special german characters then they are not shown properly in my outlook. So, i used
msg.setContent(message, "text/plain; charset=UTF-8");
Message msg = new MimeMessage(session);
This code solved the problem in message body but what do i do for setting content in subject also to utf-8. The function i am using is
thanks in advance
sanjay kumar gupta
Joined: May 15, 2008
Feb 21, 2012 02:56:24
have get any solution for your problem ,please reply I am facing same issue and no solution on internet.
With a little knowledge, a
cast iron skillet
is non-stick and lasts a lifetime.
subject: regarding sending special characters subject line in mail
strange characters(?) added to the end of my subject text
How to set Multilanguage Subject in Javax.mail
Simple Text based Email : Problem with Russian Characters
Attachment FileName not displaying UTF-8 characters correctly
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013