aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/thread/SMTPTestThread.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/ui/thread/SMTPConnectionTestThread.cpp (renamed from src/ui/thread/SMTPTestThread.cpp)10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/ui/thread/SMTPTestThread.cpp b/src/ui/thread/SMTPConnectionTestThread.cpp
index 0338de13..95cc8f72 100644
--- a/src/ui/thread/SMTPTestThread.cpp
+++ b/src/ui/thread/SMTPConnectionTestThread.cpp
@@ -24,25 +24,25 @@
*
*/
-#include "SMTPTestThread.h"
+#include "SMTPConnectionTestThread.h"
namespace GpgFrontend::UI {
-void SMTPTestThread::run() {
+void SMTPConnectionTestThread::run() {
SmtpClient smtp(host_.c_str(), port_, connection_type_);
if (identify_) {
smtp.setUser(username_.c_str());
smtp.setPassword(password_.c_str());
}
if (!smtp.connectToHost()) {
- emit signalSMTPTestResult("Fail to connect SMTP server");
+ emit SignalSMTPConnectionTestResult("Fail to connect SMTP server");
return;
}
if (!smtp.login()) {
- emit signalSMTPTestResult("Fail to login");
+ emit SignalSMTPConnectionTestResult("Fail to login");
return;
}
smtp.quit();
- emit signalSMTPTestResult("Succeed in testing connection");
+ emit SignalSMTPConnectionTestResult("Succeed in testing connection");
}
} // namespace GpgFrontend::UI