|
VMime
|


Public Member Functions | |
| sendmailTransport (shared_ptr< session > sess, shared_ptr< security::authenticator > auth) | |
| ~sendmailTransport () | |
| 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()) |
| bool | isSecuredConnection () const |
| shared_ptr< connectionInfos > | getConnectionInfos () const |
Public Member Functions inherited from transport | |
| virtual void | send (shared_ptr< vmime::message > msg, utility::progressListener *progress=NULL) |
| virtual void | send (shared_ptr< vmime::message > msg, const mailbox &expeditor, const mailboxList &recipients, utility::progressListener *progress=NULL, const mailbox &sender=mailbox()) |
| Type | getType () const |
Public Member Functions inherited from service | |
| 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) |
Static Public Member Functions | |
| static const serviceInfos & | getInfosInstance () |
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< headerField > | processHeaderField (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 &) | |
| object & | operator= (const object &) |
| virtual | ~object () |
Sendmail local transport service.
| sendmailTransport | ( | shared_ptr< session > | sess, |
| shared_ptr< security::authenticator > | auth | ||
| ) |
| ~sendmailTransport | ( | ) |
References sendmailTransport::disconnect(), and sendmailTransport::isConnected().
|
virtual |
Connect to service.
Implements service.
References GET_PROPERTY, and sendmailTransport::isConnected().
|
virtual |
Disconnect from service.
Implements service.
References sendmailTransport::isConnected().
Referenced by sendmailTransport::~sendmailTransport().
|
virtual |
|
virtual |
|
static |
|
virtual |
|
virtual |
Test whether this service is connected.
Implements service.
Referenced by sendmailTransport::connect(), sendmailTransport::disconnect(), and sendmailTransport::~sendmailTransport().
|
virtual |
Check whether the connection is secured.
Implements service.
|
virtual |
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 sendmailTransport::send().
|
virtual |
Send a message over this transport service.
| 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(), childProcess::FLAG_REDIRECT_STDIN, component::generate(), mailbox::getEmail(), platform::getHandler(), mailboxList::getMailboxAt(), mailboxList::getMailboxCount(), mailbox::isEmpty(), and mailboxList::isEmpty().
Referenced by sendmailTransport::noop().