|
| 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) |
|
Get information about the connection.
- Returns
- information about the connection
Implements service.
Return information about this service.
- Returns
- information about the service
Implements service.
const string getProtocolName |
( |
| ) |
const |
|
virtual |
Return the protocol name of this service.
- Returns
- protocol name
Implements service.
bool isConnected |
( |
| ) |
const |
|
virtual |
bool isSecuredConnection |
( |
| ) |
const |
|
virtual |
Check whether the connection is secured.
- Returns
- true if the connection is secured, false otherwise
Implements service.
Send a message over this transport service.
- Parameters
-
expeditor | expeditor mailbox |
recipients | list of recipient mailboxes |
is | input stream providing message data (header + body) |
size | size of the message data |
progress | progress listener, or NULL if not used |
sender | envelope sender (if empty, expeditor will be used) |
Implements transport.
References vmime::utility::bufferedStreamCopy().
The documentation for this class was generated from the following files: