Foros de discusión

How to send email with unicode?

Joe Chang, modificado hace 12 años.

How to send email with unicode?

New Member Mensajes: 11 Fecha de incorporación: 14/08/11 Mensajes recientes
Hi,

When the user upload the file and send the chinese file name with the MailEngine, the file name will become ??.pdf. How to set the encode of the file name is unicode?

message.addAttachment(newFile);
MailServiceUtil.sendEmail(message);

Thanks!