| Camel Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | Object Hierarchy | ||||
CamelTransport; gboolean camel_transport_send_to (CamelTransport *transport,CamelMimeMessage *message,CamelAddress *from,CamelAddress *recipients,GError **error); enum CamelTransportLock; void camel_transport_lock (CamelTransport *transport,CamelTransportLock lock); void camel_transport_unlock (CamelTransport *transport,CamelTransportLock lock);
gboolean camel_transport_send_to (CamelTransport *transport,CamelMimeMessage *message,CamelAddress *from,CamelAddress *recipients,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.
Return TRUE on success or FALSE on fail
|
a CamelTransport object |
|
a CamelMimeMessage to send |
|
a CamelAddress to send from |
|
a CamelAddress containing all recipients |
|
return location for a GError, or NULL
|
Returns : |
void camel_transport_lock (CamelTransport *transport,CamelTransportLock lock);
Locks transport's lock. Unlock it with camel_transport_unlock().
|
a CamelTransport |
|
lock type to lock |
Since 2.32
void camel_transport_unlock (CamelTransport *transport,CamelTransportLock lock);
Unlocks transport's lock, previously locked with camel_transport_lock().
|
a CamelTransport |
|
lock type to unlock |
Since 2.32