Java mail problem with Turkish characters

后端 未结 3 1409
灰色年华
灰色年华 2021-01-22 09:28

I have problem of showing Turkish characters in mail sent with Java code. The characters are shown as question marks (?) in mail.

Message msg = new MimeMessage(m         


        
3条回答
  •  执念已碎
    2021-01-22 10:17

    You can find the solution here:

    http://www.serkankonakci.com/Project/wordpress/2009/02/04/java-mail-ile-mail-gonderme-ornegi/

    even with this code, you can send with attachment or single mail in Turkish. And you can find other Turkish charset problem, just search there.

提交回复
热议问题