CamelSendmailSettings

CamelSendmailSettings

Functions

Description

Functions

camel_sendmail_settings_get_use_custom_binary ()

gboolean
camel_sendmail_settings_get_use_custom_binary
                               (CamelSendmailSettings *settings);

Returns whether the 'custom-binary' property should be used as binary to run, instead of sendmail.

Parameters

settings

a CamelSendmailSettings

 

Returns

whether the 'custom-binary' property should be used as binary to run, instead of sendmail

Since: 3.8


camel_sendmail_settings_set_use_custom_binary ()

void
camel_sendmail_settings_set_use_custom_binary
                               (CamelSendmailSettings *settings,
                                gboolean use_custom_binary);

Sets whether to use custom binary, instead of sendmail.

Parameters

settings

a CamelSendmailSettings

 

use_custom_binary

whether to use custom binary

 

Since: 3.8


camel_sendmail_settings_get_custom_binary ()

const gchar *
camel_sendmail_settings_get_custom_binary
                               (CamelSendmailSettings *settings);

Returns the custom binary to run, instead of sendmail.

Parameters

settings

a CamelSendmailSettings

 

Returns

the custom binary to run, instead of sendmail, or NULL

Since: 3.8


camel_sendmail_settings_dup_custom_binary ()

gchar *
camel_sendmail_settings_dup_custom_binary
                               (CamelSendmailSettings *settings);

Thread-safe variation of camel_sendmail_settings_get_custom_binary(). Use this function when accessing settings from multiple threads.

The returned string should be freed with g_free() when no longer needed.

Parameters

settings

a CamelSendmailSettings

 

Returns

a newly-allocated copy of “custom-binary”

Since: 3.8


camel_sendmail_settings_set_custom_binary ()

void
camel_sendmail_settings_set_custom_binary
                               (CamelSendmailSettings *settings,
                                const gchar *custom_binary);

Sets the custom binary name to run, instead of sendmail.

Parameters

settings

a CamelSendmailSettings

 

custom_binary

a custom binary name, or NULL

 

Since: 3.8


camel_sendmail_settings_get_use_custom_args ()

gboolean
camel_sendmail_settings_get_use_custom_args
                               (CamelSendmailSettings *settings);

Returns whether the 'custom-args' property should be used as arguments to use, instead of default arguments.

Parameters

settings

a CamelSendmailSettings

 

Returns

whether the 'custom-args' property should be used as arguments to use, instead of default arguments

Since: 3.8


camel_sendmail_settings_set_use_custom_args ()

void
camel_sendmail_settings_set_use_custom_args
                               (CamelSendmailSettings *settings,
                                gboolean use_custom_args);

Sets whether to use custom arguments, instead of default arguments.

Parameters

settings

a CamelSendmailSettings

 

use_custom_args

whether to use custom arguments

 

Since: 3.8


camel_sendmail_settings_get_custom_args ()

const gchar *
camel_sendmail_settings_get_custom_args
                               (CamelSendmailSettings *settings);

Returns the custom arguments to use, instead of default arguments.

Parameters

settings

a CamelSendmailSettings

 

Returns

the custom arguments to use, instead of default arguments, or NULL

Since: 3.8


camel_sendmail_settings_dup_custom_args ()

gchar *
camel_sendmail_settings_dup_custom_args
                               (CamelSendmailSettings *settings);

Thread-safe variation of camel_sendmail_settings_get_custom_args(). Use this function when accessing settings from multiple threads.

The returned string should be freed with g_free() when no longer needed.

Parameters

settings

a CamelSendmailSettings

 

Returns

a newly-allocated copy of “custom-args”

Since: 3.8


camel_sendmail_settings_set_custom_args ()

void
camel_sendmail_settings_set_custom_args
                               (CamelSendmailSettings *settings,
                                const gchar *custom_args);

Sets the custom arguments to use, instead of default arguments.

Parameters

settings

a CamelSendmailSettings

 

custom_args

a custom arguments, or NULL

 

Since: 3.8


camel_sendmail_settings_get_send_in_offline ()

gboolean
camel_sendmail_settings_get_send_in_offline
                               (CamelSendmailSettings *settings);

Returns whether can send messages in offline mode.

Parameters

settings

a CamelSendmailSettings

 

Returns

whether can send messages in offline mode

Since: 3.10


camel_sendmail_settings_set_send_in_offline ()

void
camel_sendmail_settings_set_send_in_offline
                               (CamelSendmailSettings *settings,
                                gboolean send_in_offline);

Sets whether can send messages in offline mode.

Parameters

settings

a CamelSendmailSettings

 

send_in_offline

whether can send messages in offline mode

 

Since: 3.10

Types and Values