Transport


Object Hierarchy:

Object hierarchy for Transport

Description:

[ CCode ( type_id = "camel_transport_get_type ()" ) ]
public abstract class Transport : Service, Initable

Base class for mail sending backends.

Transport is the base class for backends that support sending mail messages. It is a Service subclass and adds a single core virtual method: send_to.

The recipient address list passed to send_to is the envelope recipient list, which need not match the To/Cc headers in the message itself — this is how Bcc recipients are handled. Similarly, the from address is the envelope sender.

Implementations are free to modify certain headers (e.g. remove headers they do not wish to transmit, adjust Content-Transfer-Encoding) before sending, but must restore them afterwards. The actual message content is not changed.

Available implementations include SMTP (camel-smtp-provider) and sendmail (camel-sendmail-provider).


Namespace: Camel
Package: camel-1.2

Content:

Creation methods:

Methods:

Inherited Members:

All known members inherited from interface GLib.Initable