Top | ![]() |
![]() |
![]() |
![]() |
|
camel_transport_send_to_sync () |
|
camel_transport_send_to () |
|
camel_transport_send_to_finish () |
gboolean camel_transport_send_to_sync (,
CamelTransport *transport,
CamelMimeMessage *message,
CamelAddress *from,
CamelAddress *recipients,
gboolean *out_sent_message_saved,
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.
transport |
a |
|
message |
a |
|
from |
a |
|
recipients |
a |
|
out_sent_message_saved |
set to |
[out] |
cancellable |
optional |
|
error |
return location for a |
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.
transport |
a |
|
message |
a |
|
from |
a |
|
recipients |
a |
|
io_priority |
the I/O priority of the request |
|
cancellable |
optional |
|
callback |
a |
|
user_data |
data to pass to the callback function |
Since: 3.0
gboolean camel_transport_send_to_finish (,
CamelTransport *transport,
GAsyncResult *result,
gboolean *out_sent_message_saved);
GError **error
Finishes the operation started with camel_transport_send_to()
.
transport |
a |
|
result |
a |
|
out_sent_message_saved |
set to |
[out] |
error |
return locaton for a |
Since: 3.0