mailtransport
servertest.h
This class can be used to test certain server to see if they support stuff.
Definition servertest.h:42
QList< int > secureProtocols()
Get the protocols for the SSL connections.
Definition servertest.cpp:605
QList< int > normalProtocols()
Get the protocols for the normal connections.
Definition servertest.cpp:590
void setProtocol(const QString &protocol)
Sets protocol the protocol to test, currently supported are "smtp", "pop" and "imap".
Definition servertest.cpp:559
Capability
This enumeration has the special capabilities a server might support.
Definition servertest.h:55
QList< Capability > capabilities() const
Get the special capabilities of the server.
Definition servertest.cpp:615
int port(Transport::EnumEncryption::type encryptionMode)
Definition servertest.cpp:574
void setFakeHostname(const QString &fakeHostname)
Sets a fake hostname for the test.
Definition servertest.cpp:532
void finished(QList< int >)
This will be emitted when the test is done.
void setPort(Transport::EnumEncryption::type encryptionMode, uint port)
Set a custom port to use.
Definition servertest.cpp:547
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 17 2025 00:00:00 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 17 2025 00:00:00 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.