| Camel Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | Object Hierarchy | Properties | ||||
struct CamelSendmailSettings; gboolean camel_sendmail_settings_get_use_custom_binary (CamelSendmailSettings *settings); void camel_sendmail_settings_set_use_custom_binary (CamelSendmailSettings *settings,gboolean use_custom_binary); const gchar * camel_sendmail_settings_get_custom_binary (CamelSendmailSettings *settings); gchar * camel_sendmail_settings_dup_custom_binary (CamelSendmailSettings *settings); void camel_sendmail_settings_set_custom_binary (CamelSendmailSettings *settings,const gchar *custom_binary); gboolean camel_sendmail_settings_get_use_custom_args (CamelSendmailSettings *settings); void camel_sendmail_settings_set_use_custom_args (CamelSendmailSettings *settings,gboolean use_custom_args); const gchar * camel_sendmail_settings_get_custom_args (CamelSendmailSettings *settings); gchar * camel_sendmail_settings_dup_custom_args (CamelSendmailSettings *settings); void camel_sendmail_settings_set_custom_args (CamelSendmailSettings *settings,const gchar *custom_args); gboolean camel_sendmail_settings_get_send_in_offline (CamelSendmailSettings *settings); void camel_sendmail_settings_set_send_in_offline (CamelSendmailSettings *settings,gboolean send_in_offline);
"custom-args" gchar* : Read / Write / Construct "custom-binary" gchar* : Read / Write / Construct "send-in-offline" gboolean : Read / Write / Construct "use-custom-args" gboolean : Read / Write / Construct "use-custom-binary" gboolean : Read / Write / Construct
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.
|
a CamelSendmailSettings |
Returns : |
whether the 'custom-binary' property should be used as binary to run, instead of sendmail |
Since 3.8
void camel_sendmail_settings_set_use_custom_binary (CamelSendmailSettings *settings,gboolean use_custom_binary);
Sets whether to use custom binary, instead of sendmail.
|
a CamelSendmailSettings |
|
whether to use custom binary |
Since 3.8
const gchar * camel_sendmail_settings_get_custom_binary
(CamelSendmailSettings *settings);
Returns the custom binary to run, instead of sendmail.
|
a CamelSendmailSettings |
Returns : |
the custom binary to run, instead of sendmail, or NULL
|
Since 3.8
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.
|
a CamelSendmailSettings |
Returns : |
a newly-allocated copy of "custom-binary" |
Since 3.8
void camel_sendmail_settings_set_custom_binary (CamelSendmailSettings *settings,const gchar *custom_binary);
Sets the custom binary name to run, instead of sendmail.
|
a CamelSendmailSettings |
|
a custom binary name, or NULL
|
Since 3.8
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.
|
a CamelSendmailSettings |
Returns : |
whether the 'custom-args' property should be used as arguments to use, instead of default arguments |
Since 3.8
void camel_sendmail_settings_set_use_custom_args (CamelSendmailSettings *settings,gboolean use_custom_args);
Sets whether to use custom arguments, instead of default arguments.
|
a CamelSendmailSettings |
|
whether to use custom arguments |
Since 3.8
const gchar * camel_sendmail_settings_get_custom_args
(CamelSendmailSettings *settings);
Returns the custom arguments to use, instead of default arguments.
|
a CamelSendmailSettings |
Returns : |
the custom arguments to use, instead of default arguments, or NULL
|
Since 3.8
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.
|
a CamelSendmailSettings |
Returns : |
a newly-allocated copy of "custom-args" |
Since 3.8
void camel_sendmail_settings_set_custom_args (CamelSendmailSettings *settings,const gchar *custom_args);
Sets the custom arguments to use, instead of default arguments.
|
a CamelSendmailSettings |
|
a custom arguments, or NULL
|
Since 3.8
gboolean camel_sendmail_settings_get_send_in_offline
(CamelSendmailSettings *settings);
Returns whether can send messages in offline mode.
|
a CamelSendmailSettings |
Returns : |
whether can send messages in offline mode |
Since 3.10
void camel_sendmail_settings_set_send_in_offline (CamelSendmailSettings *settings,gboolean send_in_offline);
Sets whether can send messages in offline mode.
|
a CamelSendmailSettings |
|
whether can send messages in offline mode |
Since 3.10
"custom-args" property"custom-args" gchar* : Read / Write / Construct
Custom arguments to use, instead of default (predefined) arguments.
Default value: NULL
"custom-binary" property"custom-binary" gchar* : Read / Write / Construct
Custom binary to run, instead of sendmail.
Default value: NULL
"send-in-offline" property"send-in-offline" gboolean : Read / Write / Construct
Whether to allow message sending in offline mode.
Default value: TRUE
"use-custom-args" property"use-custom-args" gboolean : Read / Write / Construct
Whether the custom-args property identifies arguments to use.
Default value: FALSE
"use-custom-binary" property"use-custom-binary" gboolean : Read / Write / Construct
Whether the custom-binary property identifies binary to run.
Default value: FALSE