Showing posts with label javamail. Show all posts
Showing posts with label javamail. Show all posts

Saturday, February 25, 2012

How to control alignment of mail header?


I encounter a situation, when I send a email which email subject more than 80 char, sometimes the email subject will be insert a 'tab' char. I check the invalid email's mail header, they are aligned, if a mail header entry more than 80 char, it will be wrap to a new line, and insert a 'tab'. I don't know which configuration control it, javaMail setting? STMP setting?

Tuesday, February 21, 2012

strange characters(?) added to the end of my subject text


I have a problem with my java code sending email to users. There is some problem with the encoding of the email. When the email arrives to email account the subject line ($subject) has encoding problems as has strange characters(?) added to the end of my subject text.