• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • KDE-PIM Libraries
  • Sitemap
  • Contact Us
 

mailtransport

MailTransport::SmtpJob

MailTransport::SmtpJob Class Reference

Mail transport job for SMTP. More...

#include <smtpjob.h>

Inheritance diagram for MailTransport::SmtpJob:

Inheritance graph
[legend]

List of all members.


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).

Definition at line 47 of file smtpjob.h.


Constructor & Destructor Documentation

SmtpJob::SmtpJob ( Transport *  transport,
QObject *  parent = 0 
) [explicit]

Creates a SendmailJob.

Parameters:
transport The transport settings.
parent The parent object.

Definition at line 75 of file smtpjob.cpp.

SmtpJob::~SmtpJob (  )  [virtual]

Deletes this job.

Definition at line 88 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 103 of file smtpjob.cpp.


The documentation for this class was generated from the following files:
  • smtpjob.h
  • smtpjob.cpp

mailtransport

Skip menu "mailtransport"
  • Main Page
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Class Members

KDE-PIM Libraries

Skip menu "KDE-PIM Libraries"
  • akonadi
  • kabc
  • kblog
  • kcal
  • kimap
  • kioslave
  •   imap4
  •   mbox
  • kldap
  • kmime
  • kpimidentities
  •   richtextbuilders
  • kpimutils
  • kresources
  • ktnef
  • kxmlrpcclient
  • mailtransport
  • qgpgme
  • syndication
  •   atom
  •   rdf
  •   rss2
Generated for KDE-PIM Libraries by doxygen 1.5.7
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal