aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/function/SMTPTestThread.cpp
diff options
context:
space:
mode:
authorSaturneric <[email protected]>2022-01-02 23:40:04 +0000
committerSaturneric <[email protected]>2022-01-02 23:40:04 +0000
commit586b7a5211124bed6011ac71e9be51c26a542865 (patch)
tree92b9d81b6f76b2ca127221db39f9edb27e4f70cf /src/ui/function/SMTPTestThread.cpp
parent<refactor>(ui): take operations apart from key details. (diff)
downloadGpgFrontend-586b7a5211124bed6011ac71e9be51c26a542865.tar.gz
GpgFrontend-586b7a5211124bed6011ac71e9be51c26a542865.zip
<refactor>(ui): Enhanced sending email function.
Diffstat (limited to 'src/ui/function/SMTPTestThread.cpp')
-rw-r--r--src/ui/function/SMTPTestThread.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ui/function/SMTPTestThread.cpp b/src/ui/function/SMTPTestThread.cpp
index 63c41a90..0eb267f2 100644
--- a/src/ui/function/SMTPTestThread.cpp
+++ b/src/ui/function/SMTPTestThread.cpp
@@ -23,6 +23,7 @@
*/
#include "SMTPTestThread.h"
+namespace GpgFrontend::UI {
void SMTPTestThread::run() {
SmtpClient smtp(host_.c_str(), port_, connection_type_);
@@ -41,3 +42,5 @@ void SMTPTestThread::run() {
smtp.quit();
emit signalSMTPTestResult("Succeed in testing connection");
}
+
+} // namespace GpgFrontend::UI