aspose file tools*
The moose likes Other JSE/JEE APIs and the fly likes regarding sending special characters subject  line in mail Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "regarding sending special characters subject  line in mail" Watch "regarding sending special characters subject  line in mail" New topic
Author

regarding sending special characters subject line in mail

gaurav chaudhary
Ranch Hand

Joined: Jun 24, 2002
Posts: 64
I am having a simple java 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

where msg declaration is

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
gaurav


gaurav
sanjay kumar gupta
Greenhorn

Joined: May 15, 2008
Posts: 17
have get any solution for your problem ,please reply I am facing same issue and no solution on internet.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: regarding sending special characters subject line in mail