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
449 stars 226 forks source link

Gmail message truncated #124

Closed piervalli closed 1 year ago

piervalli commented 1 year ago

Hi,

I have test the SmtClient with example "Demo2" with tag 1.1. The message is very short a "Hello world". It sent correctly, gmail show all message. Instead when send it with new api 2.2, gmail shows "message truncated". Have a suggestion?

Thanks Pier

piervalli commented 1 year ago

Hi in the versione 2.2 in the body it adds the bom =EF=BB=BF

This is my first transactional email

<img =

instead in the 1.1 we have only

This is my first transactional email

cCharset.toStdString().c_str())).fromUnicode(text)); } This works MimePart::writeContent(device, text.toUtf8());
bluetiger9 commented 1 year ago

I think this should be already fixed.