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
456 stars 227 forks source link

Fixed encoding issue in `MimeText::writeContent()` #114

Closed ghorwin closed 2 years ago

ghorwin commented 2 years ago

Strangely, this seems to have been in the 1.1 version already. In any case, this allows sending QString-messages with german Umlaute or other special chars.

bluetiger9 commented 2 years ago

Fixed this on the dev branch. The content of the MimeText now should be properly encoded using an a QStringEncoder with the appropriate charset.