sendmailTransport Class Reference

Sendmail local transport service. More...

Inheritance diagram for sendmailTransport:
Inheritance graph
[legend]
Collaboration diagram for sendmailTransport:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 sendmailTransport (ref< session > sess, ref< security::authenticator > auth)
 ~sendmailTransport ()
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 utility::stream::size_type size, utility::progressListener *progress=NULL)
bool isSecuredConnection () const
ref< connectionInfosgetConnectionInfos () const

Static Public Member Functions

static const serviceInfosgetInfosInstance ()

Detailed Description

Sendmail local transport service.


Constructor & Destructor Documentation

sendmailTransport ( ref< session sess,
ref< security::authenticator auth 
)

Member Function Documentation

void connect (  )  [virtual]

Connect to service.

Implements service.

References GET_PROPERTY, and sendmailTransport::isConnected().

void disconnect (  )  [virtual]

Disconnect from service.

Implements service.

References sendmailTransport::isConnected().

Referenced by sendmailTransport::~sendmailTransport().

ref< connectionInfos > getConnectionInfos (  )  const [virtual]

Get information about the connection.

Returns:
information about the connection

Implements service.

const serviceInfos & getInfos (  )  const [virtual]

Return information about this service.

Returns:
information about the service

Implements service.

const serviceInfos & getInfosInstance (  )  [static]
const string getProtocolName (  )  const [virtual]

Return the protocol name of this service.

Returns:
protocol name

Implements service.

bool isConnected (  )  const [virtual]

Test whether this service is connected.

Returns:
true if the service is connected, false otherwise

Implements service.

Referenced by sendmailTransport::connect(), sendmailTransport::disconnect(), and sendmailTransport::~sendmailTransport().

bool isSecuredConnection (  )  const [virtual]

Check whether the connection is secured.

Returns:
true if the connection is secured, false otherwise

Implements service.

void noop (  )  [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.

void send ( const mailbox expeditor,
const mailboxList recipients,
utility::inputStream is,
const utility::stream::size_type  size,
utility::progressListener progress = NULL 
) [virtual]

Send a message over this transport service.

Parameters:
expeditor expeditor mailbox
recipients list of recipient mailboxes
is input stream provding message data (header + body)
size size of the message data
progress progress listener, or NULL if not used

Implements transport.

References mailbox::getEmail(), mailboxList::getMailboxAt(), mailboxList::getMailboxCount(), mailbox::isEmpty(), and mailboxList::isEmpty().


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

Generated by  doxygen 1.6.2