mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-12 08:16:16 -07:00
FEATURE: Added support for secure SMTP connection (SSL)
FEATURE: Added support for SMTP authentication
This commit is contained in:
parent
0a6f591cf5
commit
58bfa6f1bb
9 changed files with 599 additions and 173 deletions
|
@ -82,6 +82,7 @@ void qt_mac_set_dock_menu(QMenu *menu);
|
|||
#include "programupdater.h"
|
||||
#endif
|
||||
#include "powermanagement.h"
|
||||
#include "smtp.h"
|
||||
|
||||
using namespace libtorrent;
|
||||
|
||||
|
@ -97,6 +98,10 @@ using namespace libtorrent;
|
|||
// Constructor
|
||||
MainWindow::MainWindow(QWidget *parent, QStringList torrentCmdLine) : QMainWindow(parent), m_posInitialized(false), force_exit(false) {
|
||||
setupUi(this);
|
||||
// TODO: Remove this
|
||||
Smtp *sender = new Smtp(this);
|
||||
sender->sendMail("notification@qbittorrent.org", Preferences().getMailNotificationEmail(), "title", "content");
|
||||
|
||||
Preferences pref;
|
||||
ui_locked = pref.isUILocked();
|
||||
setWindowTitle(tr("qBittorrent %1", "e.g: qBittorrent v0.x").arg(QString::fromUtf8(VERSION)));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue