VMime
SMTPSTransport Class Reference

#include <SMTPSTransport.hpp>

Inheritance diagram for SMTPSTransport:
Collaboration diagram for SMTPSTransport:

Public Member Functions

 SMTPSTransport (shared_ptr< session > sess, shared_ptr< security::authenticator > auth)
 ~SMTPSTransport ()
const string getProtocolName () const
const serviceInfosgetInfos () const
Public Member Functions inherited from SMTPTransport
 SMTPTransport (shared_ptr< session > sess, shared_ptr< security::authenticator > auth, const bool secured=false)
 ~SMTPTransport ()
const string getProtocolName () const
const serviceInfosgetInfos () const
void connect ()
bool isConnected () const
void disconnect ()
void noop ()
void send (const mailbox &expeditor, const mailboxList &recipients, utility::inputStream &is, const size_t size, utility::progressListener *progress=NULL, const mailbox &sender=mailbox())
void send (shared_ptr< vmime::message > msg, const mailbox &expeditor, const mailboxList &recipients, utility::progressListener *progress=NULL, const mailbox &sender=mailbox())
bool isSecuredConnection () const
shared_ptr< connectionInfosgetConnectionInfos () const
shared_ptr< SMTPConnectiongetConnection ()
bool isSMTPS () const
Public Member Functions inherited from transport
virtual void send (shared_ptr< vmime::message > msg, utility::progressListener *progress=NULL)
Type getType () const
Public Member Functions inherited from service
virtual ~service ()
shared_ptr< const sessiongetSession () const
shared_ptr< sessiongetSession ()
shared_ptr< const security::authenticatorgetAuthenticator () const
shared_ptr< security::authenticatorgetAuthenticator ()
void setAuthenticator (shared_ptr< security::authenticator > auth)
void setCertificateVerifier (shared_ptr< security::cert::certificateVerifier > cv)
shared_ptr< security::cert::certificateVerifiergetCertificateVerifier ()
void setSocketFactory (shared_ptr< socketFactory > sf)
shared_ptr< socketFactorygetSocketFactory ()
void setTimeoutHandlerFactory (shared_ptr< timeoutHandlerFactory > thf)
shared_ptr< timeoutHandlerFactorygetTimeoutHandlerFactory ()
void setTracerFactory (shared_ptr< tracerFactory > tf)
shared_ptr< tracerFactorygetTracerFactory ()
template<typename TYPE>
void setProperty (const string &name, const TYPE &value)

Static Public Member Functions

static const serviceInfosgetInfosInstance ()
Static Public Member Functions inherited from SMTPTransport
static const serviceInfosgetInfosInstance ()

Additional Inherited Members

Public Types inherited from service
enum  Type { TYPE_STORE = 0 , TYPE_TRANSPORT }
Protected Member Functions inherited from transport
 transport (shared_ptr< session > sess, const serviceInfos &infos, shared_ptr< security::authenticator > auth)
shared_ptr< headerFieldprocessHeaderField (shared_ptr< headerField > field)
void processHeader (shared_ptr< header > header)
Protected Member Functions inherited from service
 service (shared_ptr< session > sess, const serviceInfos &infos, shared_ptr< security::authenticator > auth)
Protected Member Functions inherited from object
 object ()
 object (const object &)
objectoperator= (const object &)
virtual ~object ()

Detailed Description

SMTPS transport service.

Constructor & Destructor Documentation

◆ SMTPSTransport()

SMTPSTransport ( shared_ptr< session > sess,
shared_ptr< security::authenticator > auth )

◆ ~SMTPSTransport()

Member Function Documentation

◆ getInfos()

const serviceInfos & getInfos ( ) const
virtual

Return information about this service.

Returns
information about the service

Implements service.

◆ getInfosInstance()

const serviceInfos & getInfosInstance ( )
static

◆ getProtocolName()

const string getProtocolName ( ) const
virtual

Return the protocol name of this service.

Returns
protocol name

Implements service.


The documentation for this class was generated from the following files: