mailtransport
#include <smtpsession.h>
Inherits QObject.
Signals | |
void | result (MailTransport::SmtpSession *session) |
Public Member Functions | |
SmtpSession (QObject *parent=0) | |
void | connectToHost (const KUrl &url) |
void | disconnectFromHost (bool nice=true) |
QString | errorMessage () const |
void | sendMessage (const KUrl &destination, QIODevice *data) |
void | setSaslMethod (const QString &method) |
void | setUseTLS (bool useTLS) |
Detailed Description
Connection to an SMTP server.
Definition at line 33 of file smtpsession.h.
Member Function Documentation
void SmtpSession::connectToHost | ( | const KUrl & | url | ) |
Open connection to host.
Definition at line 585 of file smtpsession.cpp.
void SmtpSession::disconnectFromHost | ( | bool | nice = true | ) |
Close the connection to the SMTP server.
Definition at line 591 of file smtpsession.cpp.
QString SmtpSession::errorMessage | ( | ) | const |
Returns the error nmeesage, if any.
Definition at line 631 of file smtpsession.cpp.
|
signal |
Emitted when an email transfer has been completed.
void SmtpSession::sendMessage | ( | const KUrl & | destination, |
QIODevice * | data | ||
) |
Send a message.
Definition at line 608 of file smtpsession.cpp.
void SmtpSession::setSaslMethod | ( | const QString & | method | ) |
Sets the SASL method used for authentication.
Definition at line 575 of file smtpsession.cpp.
void SmtpSession::setUseTLS | ( | bool | useTLS | ) |
Enable TLS encryption.
Definition at line 580 of file smtpsession.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2013 The KDE developers.
Generated on Tue Nov 26 2013 09:03:01 by doxygen 1.8.5 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.