• Skip to content
  • Skip to link menu
KDE 4.6 API Reference
  • KDE API Reference
  • KDE-PIM Libraries
  • KDE Home
  • Contact Us
 

mailtransport

  • MailTransport
  • SmtpSession
Signals | Public Member Functions

MailTransport::SmtpSession Class Reference

Connection to an SMTP server. More...

#include <smtpsession.h>

Inherits QObject.

List of all members.

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 554 of file smtpsession.cpp.

void SmtpSession::disconnectFromHost ( bool  nice = true)

Close the connection to the SMTP server.

Definition at line 560 of file smtpsession.cpp.

QString SmtpSession::errorMessage ( ) const

Returns the error nmeesage, if any.

Definition at line 599 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 577 of file smtpsession.cpp.

void SmtpSession::setSaslMethod ( const QString &  method)

Sets the SASL method used for authentication.

Definition at line 544 of file smtpsession.cpp.

void SmtpSession::setUseTLS ( bool  useTLS)

Enable TLS encryption.

Definition at line 549 of file smtpsession.cpp.


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

mailtransport

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

KDE-PIM Libraries

Skip menu "KDE-PIM Libraries"
  • akonadi
  •   contact
  •   kmime
  • kabc
  • kblog
  • kcal
  • kcalcore
  • kcalutils
  • kholidays
  • kimap
  • kioslave
  •   imap4
  •   mbox
  •   nntp
  • kldap
  • kmbox
  • kmime
  • kontactinterface
  • kpimidentities
  • kpimtextedit
  •   richtextbuilders
  • kpimutils
  • kresources
  • ktnef
  • kxmlrpcclient
  • mailtransport
  • microblog
  • qgpgme
  • syndication
  •   atom
  •   rdf
  •   rss2
Generated for KDE-PIM Libraries by doxygen 1.7.3
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