11#include "ksmtp_export.h"
12#include "sessionuiproxy.h"
44 Q_ENUM(EncryptionMode)
63 void setUseNetworkProxy(
bool useProxy);
69 [[nodiscard]]
QString hostName()
const;
75 [[nodiscard]] quint16 port()
const;
77 [[nodiscard]]
State state()
const;
80 [[nodiscard]] EncryptionMode encryptionMode()
const;
85 void setEncryptionMode(EncryptionMode mode);
94 [[nodiscard]]
bool allowsTls()
const;
99 [[nodiscard]]
bool allowsDsn()
const;
104 [[nodiscard]]
QStringList availableAuthModes()
const;
111 [[nodiscard]]
int sizeLimit()
const;
113 [[nodiscard]]
int socketTimeout()
const;
114 void setSocketTimeout(
int ms);
119 void setCustomHostname(
const QString &hostname);
120 [[nodiscard]]
QString customHostname()
const;
148 void connectionError(
const QString &error);
151 friend class SessionPrivate;
152 friend class SessionThread;
153 friend class JobPrivate;
155 SessionPrivate *
const d;
@ Authenticated
The Session is ready to send email.
@ NotAuthenticated
The Session is ready for login.
EncryptionMode
Transport encryption for a session.
@ Unencrypted
Use no encryption.
@ TLS
Use TLS encryption on the socket.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 6 2024 12:09:19 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.