MailTransport
servertest.h
This class can be used to test certain server to see if they support stuff.
Definition servertest.h:30
void finished(const QList< int > &)
This will be emitted when the test is done.
void setPort(Transport::EnumEncryption encryptionMode, uint port)
Set a custom port to use.
Definition servertest.cpp:621
void setProtocol(const QString &protocol)
Sets protocol the protocol to test, currently supported are "smtp", "pop", "imap",...
Definition servertest.cpp:632
QList< int > tlsProtocols() const
Get the protocols for the TLS connections.
Definition servertest.cpp:673
Capability
This enumeration has the special capabilities a server might support.
Definition servertest.h:42
QList< Capability > capabilities() const
Get the special capabilities of the server.
Definition servertest.cpp:688
bool isNormalPossible() const
tells you if the normal server is available
Definition servertest.cpp:668
void setFakeHostname(const QString &fakeHostname)
Sets a fake hostname for the test.
Definition servertest.cpp:606
QList< int > secureProtocols() const
Get the protocols for the SSL connections.
Definition servertest.cpp:678
QList< int > normalProtocols() const
Get the protocols for the normal connections.
Definition servertest.cpp:663
int port(Transport::EnumEncryption encryptionMode) const
Definition servertest.cpp:648
Q_SCRIPTABLE Q_NOREPLY void start()
QObject(QObject *parent)
Q_OBJECTQ_OBJECT
Q_PROPERTY(...)
Q_SIGNALSQ_SIGNALS
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:53:49 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:53:49 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.