diff options
author | Saturneric <[email protected]> | 2022-01-02 08:40:17 +0000 |
---|---|---|
committer | Saturneric <[email protected]> | 2022-01-02 08:40:17 +0000 |
commit | 5c9f64f4a41cc84a273db0726fe34388fe7b9935 (patch) | |
tree | 26ca494783647b63435710f956e8362befe8a64f /src/ui/smtp/SendMailDialog.cpp | |
parent | <fixed>(core, ui): fixed bugs in result analyse (diff) | |
download | GpgFrontend-5c9f64f4a41cc84a273db0726fe34388fe7b9935.tar.gz GpgFrontend-5c9f64f4a41cc84a273db0726fe34388fe7b9935.zip |
<feat, refactor>(ui): change smtp test to multiply thread
Diffstat (limited to '')
-rw-r--r-- | src/ui/smtp/SendMailDialog.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ui/smtp/SendMailDialog.cpp b/src/ui/smtp/SendMailDialog.cpp index 374b3875..66bfc546 100644 --- a/src/ui/smtp/SendMailDialog.cpp +++ b/src/ui/smtp/SendMailDialog.cpp @@ -181,13 +181,13 @@ void SendMailDialog::slotConfirm() { MimeMessage message; message.setSender(new EmailAddress(ui->senderEdit->text())); - for (const auto& reci : rcpt_string_list) { - if (!reci.isEmpty()) message.addRecipient(new EmailAddress(reci.trimmed())); + for (const auto& rcpt : rcpt_string_list) { + if (!rcpt.isEmpty()) message.addRecipient(new EmailAddress(rcpt.trimmed())); } for (const auto& cc : cc_string_list) { if (!cc.isEmpty()) message.addCc(new EmailAddress(cc.trimmed())); } - for (const auto& bcc : cc_string_list) { + for (const auto& bcc : bcc_string_list) { if (!bcc.isEmpty()) message.addBcc(new EmailAddress(bcc.trimmed())); } message.setSubject(ui->subjectEdit->text()); |