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 228 forks source link

mimemultipart: bad default value for type #96

Closed minutello closed 2 years ago

minutello commented 4 years ago

Since I'm always sending attachments, I had to change the type default value in mimemultipart.h to:

    /* [1] Constructors and Destructors */
    MimeMultiPart(const MultiPartType type = Mixed);

otherwise attachments will not be shown in all email clients, and the size of the attached files would be missing.

Maybe it's just a personal issue, but it's good to know if you're bugged with it.

bluetiger9 commented 2 years ago

Good to know. Mime type can also be set with the setMimeType() method.