• Skip to content
  • Skip to link menu
  • KDE API Reference
  • kdepimlibs-4.11.3 API Reference
  • KDE Home
  • Contact Us
 

mailtransport

  • MailTransport
  • SmtpSession
Signals | Public Member Functions | List of all members
MailTransport::SmtpSession Class Reference

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

void MailTransport::SmtpSession::result ( MailTransport::SmtpSession *  session)
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:
  • smtpsession.h
  • smtpsession.cpp
This file is part of the KDE documentation.
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.

mailtransport

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

kdepimlibs-4.11.3 API Reference

Skip menu "kdepimlibs-4.11.3 API Reference"
  • akonadi
  •   contact
  •   kmime
  •   socialutils
  • kabc
  • kalarmcal
  • kblog
  • kcal
  • kcalcore
  • kcalutils
  • kholidays
  • kimap
  • kioslave
  •   imap4
  •   mbox
  •   nntp
  • kldap
  • kmbox
  • kmime
  • kontactinterface
  • kpimidentities
  • kpimtextedit
  • kpimutils
  • kresources
  • ktnef
  • kxmlrpcclient
  • mailtransport
  • microblog
  • qgpgme
  • syndication
  •   atom
  •   rdf
  •   rss2
Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal