| Camel Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | Object Hierarchy | Implemented Interfaces | ||||
struct CamelTransport; enum CamelTransportLock;void camel_transport_lock (CamelTransport *transport,CamelTransportLock lock);void camel_transport_unlock (CamelTransport *transport,CamelTransportLock lock);gboolean camel_transport_send_to_sync (CamelTransport *transport,CamelMimeMessage *message,CamelAddress *from,CamelAddress *recipients,,GCancellable *cancellable);GError **errorvoid camel_transport_send_to (CamelTransport *transport,CamelMimeMessage *message,CamelAddress *from,CamelAddress *recipients,,gint io_priority,GCancellable *cancellable,GAsyncReadyCallback callback);gpointer user_datagboolean camel_transport_send_to_finish (CamelTransport *transport,,GAsyncResult *result);GError **error
void camel_transport_lock (CamelTransport *transport,CamelTransportLock lock);
Locks transportlockcamel_transport_unlock().
|
a CamelTransport |
|
lock type to lock |
Since 2.32
void camel_transport_unlock (CamelTransport *transport,CamelTransportLock lock);
Unlocks transportlockcamel_transport_lock().
|
a CamelTransport |
|
lock type to unlock |
Since 2.32
gboolean camel_transport_send_to_sync (CamelTransport *transport,CamelMimeMessage *message,CamelAddress *from,CamelAddress *recipients,,GCancellable *cancellable);GError **error
Sends the message to the given recipients, regardless of the contents
of message. If the message contains a "Bcc" header, the transport
is responsible for stripping it.
|
a CamelTransport |
|
a CamelMimeMessage to send |
|
a CamelAddress to send from |
|
a CamelAddress containing all recipients |
|
optional NULL |
|
return location for a NULL |
Returns : |
TRUEFALSE |
Since 3.0
void camel_transport_send_to (CamelTransport *transport,CamelMimeMessage *message,CamelAddress *from,CamelAddress *recipients,,gint io_priority,GCancellable *cancellable,GAsyncReadyCallback callback);gpointer user_data
Sends the message asynchronously to the given recipients, regardless of
the contents of message. If the message contains a "Bcc" header, the
transport is responsible for stripping it.
When the operation is finished, callback will be called. You can then
call camel_transport_send_to_finish() to get the result of the operation.
|
a CamelTransport |
|
a CamelMimeMessage to send |
|
a CamelAddress to send from |
|
a CamelAddress containing all recipients |
|
the I/O priority of the request |
|
optional NULL |
|
a |
|
data to pass to the callback function |
Since 3.0
gboolean camel_transport_send_to_finish (CamelTransport *transport,,GAsyncResult *result);GError **error
Finishes the operation started with camel_transport_send_to().
|
a CamelTransport |
|
a |
|
return locaton for a NULL |
Returns : |
TRUEFALSE |
Since 3.0