master
feiyangqingyun 2019-11-26 10:01:27 +08:00
parent 1d371bef97
commit 617764b181
4 changed files with 77 additions and 74 deletions

View File

@ -31,7 +31,7 @@ void frmEmailTool::on_btnSend_clicked()
return;
}
SendEmailThread::Instance()->setEmialTitle(ui->txtTitle->text());
SendEmailThread::Instance()->setEmailTitle(ui->txtTitle->text());
SendEmailThread::Instance()->setSendEmailAddr(ui->txtSenderAddr->text());
SendEmailThread::Instance()->setSendEmailPwd(ui->txtSenderPwd->text());
SendEmailThread::Instance()->setReceiveEmailAddr(ui->txtReceiverAddr->text());

View File

@ -1,6 +1,9 @@
#include "sendemailthread.h"
#include "sendemail/smtpmime.h"
#pragma execution_character_set("utf-8")
#define TIMEMS qPrintable(QTime::currentTime().toString("hh:mm:ss zzz"))
QScopedPointer<SendEmailThread> SendEmailThread::self;
SendEmailThread *SendEmailThread::Instance()
{
@ -118,7 +121,7 @@ void SendEmailThread::stop()
stopped = true;
}
void SendEmailThread::setEmialTitle(const QString &emailTitle)
void SendEmailThread::setEmailTitle(const QString &emailTitle)
{
this->emialTitle = emailTitle;
}

View File

@ -33,7 +33,7 @@ signals:
public slots:
void stop();
void setEmialTitle(const QString &emailTitle);
void setEmailTitle(const QString &emailTitle);
void setSendEmailAddr(const QString &sendEmailAddr);
void setSendEmailPwd(const QString &sendEmailPwd);
void setReceiveEmailAddr(const QString &receiveEmailAddr);

BIN
email/snap.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 77 KiB