bluetiger9 / SmtpClient-for-Qt

An SMTP Client writen in C++ for Qt. Allows applications to send emails (MIME with text, html, attachments, inline files, etc.) via SMTP. Supports SSL and SMTP authentication.
https://github.com/bluetiger9/SmtpClient-for-Qt/wiki
GNU Lesser General Public License v2.1
460 stars 229 forks source link

Chinese title and sender may have garbled characters #168

Closed Vdeilae closed 3 weeks ago

Vdeilae commented 1 month ago

just like this ”��“

mozhongzhou commented 1 month ago

自动回复:已收到您的邮件

bluetiger9 commented 1 month ago

@Vdeilae, try setting the header encoding to QuotedPrintable or Base64. Some servers and clients may have trouble with plain UTF-8. See MimeMessage::setHeaderEncoding() reference.