## CamelSendmailSettings CamelSendmailSettings |

## Synopsis

    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);

## Object Hierarchy

      GObject
       +----CamelSettings
             +----CamelSendmailSettings

## Properties

      "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

## Description

## Details

### struct CamelSendmailSettings

    struct CamelSendmailSettings;

### 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.

`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.

`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.

`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.

`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.

`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.

`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.

`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.

`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.

`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.

`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.

`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.

`settings` : | a CamelSendmailSettings
`send_in_offline` : | whether can send messages in offline mode

Since 3.10

## Property Details

### The `"custom-args"` property

      "custom-args"              gchar*                : Read / Write / Construct

Custom arguments to use, instead of default (predefined) arguments.

Default value: NULL

### The `"custom-binary"` property

      "custom-binary"            gchar*                : Read / Write / Construct

Custom binary to run, instead of sendmail.

Default value: NULL

### The `"send-in-offline"` property

      "send-in-offline"          gboolean              : Read / Write / Construct

Whether to allow message sending in offline mode.

Default value: TRUE

### The `"use-custom-args"` property

      "use-custom-args"          gboolean              : Read / Write / Construct

Whether the custom-args property identifies arguments to use.

Default value: FALSE

### The `"use-custom-binary"` property

      "use-custom-binary"        gboolean              : Read / Write / Construct

Whether the custom-binary property identifies binary to run.

Default value: FALSE