网上有很多使用 base64 encode 的方法,比较麻烦,实际上可以在发 mail 前,设置 encoding System.setProperty("mail.mime.charset", "UTF-8");