mailtransport
#include <smtpjob.h>

Public Member Functions | |
SmtpJob (Transport *transport, QObject *parent=0) | |
virtual | ~SmtpJob () |
Protected Slots | |
void | slaveError (KIO::Slave *slave, int errorCode, const QString &errorMsg) |
virtual void | slotResult (KJob *job) |
Protected Member Functions | |
virtual bool | doKill () |
virtual void | doStart () |
Detailed Description
Mail transport job for SMTP.
Internally, all jobs for a specific transport are queued to use the same KIO::Slave. This avoids multiple simultaneous connections to the server, which is not always allowed. Also, re-using an already existing connection avoids the login overhead and can improve performance.
Precommands are automatically executed, once per opening a connection to the server (not necessarily once per message).
- Deprecated:
- Use MessageQueueJob for sending e-mail.
Constructor & Destructor Documentation
SmtpJob::SmtpJob | ( | Transport * | transport, |
QObject * | parent = 0 |
||
) | [explicit] |
Creates a SmtpJob.
- Parameters:
-
transport The transport settings. parent The parent object.
Definition at line 93 of file smtpjob.cpp.
SmtpJob::~SmtpJob | ( | ) | [virtual] |
Deletes this job.
Definition at line 106 of file smtpjob.cpp.
Member Function Documentation
void SmtpJob::doStart | ( | ) | [protected, virtual] |
Do the actual work, implement in your subclass.
Implements MailTransport::TransportJob.
Definition at line 123 of file smtpjob.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2012 The KDE developers.
Generated on Mon May 7 2012 23:59:00 by doxygen 1.8.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.