#include <SMTPTransport.hpp>
|
| | SMTPTransport (shared_ptr< session > sess, shared_ptr< security::authenticator > auth, const bool secured=false) |
| | ~SMTPTransport () |
| const string | getProtocolName () const |
| const serviceInfos & | getInfos () 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< connectionInfos > | getConnectionInfos () const |
| shared_ptr< SMTPConnection > | getConnection () |
| bool | isSMTPS () const |
| virtual void | send (shared_ptr< vmime::message > msg, utility::progressListener *progress=NULL) |
| Type | getType () const |
| virtual | ~service () |
| shared_ptr< const session > | getSession () const |
| shared_ptr< session > | getSession () |
| shared_ptr< const security::authenticator > | getAuthenticator () const |
| shared_ptr< security::authenticator > | getAuthenticator () |
| void | setAuthenticator (shared_ptr< security::authenticator > auth) |
| void | setCertificateVerifier (shared_ptr< security::cert::certificateVerifier > cv) |
| shared_ptr< security::cert::certificateVerifier > | getCertificateVerifier () |
| void | setSocketFactory (shared_ptr< socketFactory > sf) |
| shared_ptr< socketFactory > | getSocketFactory () |
| void | setTimeoutHandlerFactory (shared_ptr< timeoutHandlerFactory > thf) |
| shared_ptr< timeoutHandlerFactory > | getTimeoutHandlerFactory () |
| void | setTracerFactory (shared_ptr< tracerFactory > tf) |
| shared_ptr< tracerFactory > | getTracerFactory () |
| template<typename TYPE> |
| void | setProperty (const string &name, const TYPE &value) |
◆ SMTPTransport()
◆ ~SMTPTransport()
◆ connect()
◆ disconnect()
◆ getConnection()
◆ getConnectionInfos()
Get information about the connection.
- Returns
- information about the connection
Implements service.
◆ getInfos()
Return information about this service.
- Returns
- information about the service
Implements service.
Referenced by send().
◆ getInfosInstance()
◆ getProtocolName()
| const string getProtocolName |
( |
| ) |
const |
|
virtual |
Return the protocol name of this service.
- Returns
- protocol name
Implements service.
◆ isConnected()
| bool isConnected |
( |
| ) |
const |
|
virtual |
◆ isSecuredConnection()
| bool isSecuredConnection |
( |
| ) |
const |
|
virtual |
Check whether the connection is secured.
- Returns
- true if the connection is secured, false otherwise
Implements service.
◆ isSMTPS()
◆ noop()
Do nothing but ensure the server do not disconnect (for example, this can reset the auto-logout timer on the server, if one exists).
Implements service.
References isConnected(), and SMTPCommand::NOOP().
◆ send() [1/2]
◆ send() [2/2]
The documentation for this class was generated from the following files: