Version 1.1

This commit is contained in:
Tőkés Attila 2012-08-09 22:34:56 +03:00 committed by Attila
parent 1071beb43d
commit 28666c2603
2 changed files with 17 additions and 3 deletions

View File

@ -1,8 +1,18 @@
SMTP Client for Qt (C++) - Development Branch (v. 1.1 beta) SMTP Client for Qt (C++) - Version 1.1
============================================= =============================================
The SmtpClient for Qt is small library writen for Qt 4 (C++ version) that allows application to send complex emails (plain text, html, attachments, inline files, etc.) using the Simple Mail Transfer Protocol (SMTP). The SmtpClient for Qt is small library writen for Qt 4 (C++ version) that allows application to send complex emails (plain text, html, attachments, inline files, etc.) using the Simple Mail Transfer Protocol (SMTP).
##New in version 1.1:
- TLS (STARTTLS) connection is now supported
- multiple types of recipients (to, cc, bcc)
- nested mime emails (mixed/alternative, mixed/related)
- output compilant with RFC2045
## SMPT Client for Qt supports ## SMPT Client for Qt supports

View File

@ -191,7 +191,9 @@ QString MimeMessage::toString()
/* ---------------------------------- */ /* ---------------------------------- */
/* ------- Recipients / Cc ---------- */ /* ------- Recipients / Cc ---------- */
mime += "Cc:"; if (recipientsCc.size() != 0) {
mime += "Cc:";
}
for (i = 0, it = recipientsCc.begin(); it != recipientsCc.end(); ++it, ++i) for (i = 0, it = recipientsCc.begin(); it != recipientsCc.end(); ++it, ++i)
{ {
if (i != 0) { mime += ","; } if (i != 0) { mime += ","; }
@ -212,7 +214,9 @@ QString MimeMessage::toString()
} }
mime += " <" + (*it)->getAddress() + ">"; mime += " <" + (*it)->getAddress() + ">";
} }
mime += "\r\n"; if (recipientsCc.size() != 0) {
mime += "\r\n";
}
/* ---------------------------------- */ /* ---------------------------------- */
/* ------------ Subject ------------- */ /* ------------ Subject ------------- */