## EAttachment EAttachment |

## Functions

EAttachment * | e_attachment_new ()
EAttachment * | e_attachment_new_for_path ()
EAttachment * | e_attachment_new_for_uri ()
EAttachment * | e_attachment_new_for_message ()
void | e_attachment_add_to_multipart ()
void | e_attachment_cancel ()
gboolean | e_attachment_is_mail_note ()
gboolean | e_attachment_get_can_show ()
void | e_attachment_set_can_show ()
const gchar * | e_attachment_get_disposition ()
gchar * | e_attachment_dup_disposition ()
void | e_attachment_set_disposition ()
GFile * | e_attachment_ref_file ()
void | e_attachment_set_file ()
GFileInfo * | e_attachment_ref_file_info ()
void | e_attachment_set_file_info ()
gchar * | e_attachment_dup_mime_type ()
GIcon * | e_attachment_ref_icon ()
gboolean | e_attachment_get_loading ()
CamelMimePart * | e_attachment_ref_mime_part ()
void | e_attachment_set_mime_part ()
gint | e_attachment_get_percent ()
gboolean | e_attachment_get_saving ()
gboolean | e_attachment_get_initially_shown ()
void | e_attachment_set_initially_shown ()
gboolean | e_attachment_get_save_self ()
void | e_attachment_set_save_self ()
gboolean | e_attachment_get_save_extracted ()
void | e_attachment_set_save_extracted ()
CamelCipherValidityEncrypt | e_attachment_get_encrypted ()
void | e_attachment_set_encrypted ()
CamelCipherValiditySign | e_attachment_get_signed ()
void | e_attachment_set_signed ()
gchar * | e_attachment_dup_description ()
gchar * | e_attachment_dup_thumbnail_path ()
gboolean | e_attachment_is_rfc822 ()
GList * | e_attachment_list_apps ()
GAppInfo * | e_attachment_ref_default_app ()
void | e_attachment_update_store_columns ()
void | e_attachment_load_async ()
gboolean | e_attachment_load_finish ()
gboolean | e_attachment_load ()
void | e_attachment_open_async ()
gboolean | e_attachment_open_finish ()
gboolean | e_attachment_open ()
void | e_attachment_save_async ()
GFile * | e_attachment_save_finish ()
gboolean | e_attachment_save ()
void | e_attachment_load_handle_error ()
void | e_attachment_open_handle_error ()
void | e_attachment_save_handle_error ()

## Description

## Functions

### e_attachment_new ()

    EAttachment *
    e_attachment_new (void);

`e_attachment_new` is deprecated and should not be used in newly-written code.

### e_attachment_new_for_path ()

    EAttachment *
    e_attachment_new_for_path (const gchar *path);

`e_attachment_new_for_path` is deprecated and should not be used in newly-written code.

### e_attachment_new_for_uri ()

    EAttachment *
    e_attachment_new_for_uri (const gchar *uri);

`e_attachment_new_for_uri` is deprecated and should not be used in newly-written code.

### e_attachment_new_for_message ()

    EAttachment *
    e_attachment_new_for_message (CamelMimeMessage *message);

`e_attachment_new_for_message` is deprecated and should not be used in newly-written code.

### e_attachment_add_to_multipart ()

    void
    e_attachment_add_to_multipart (EAttachment *attachment,
                                   CamelMultipart *multipart,
                                   const gchar *default_charset);

`e_attachment_add_to_multipart` is deprecated and should not be used in newly-written code.

### e_attachment_cancel ()

    void
    e_attachment_cancel (EAttachment *attachment);

`e_attachment_cancel` is deprecated and should not be used in newly-written code.

### e_attachment_is_mail_note ()

    gboolean
    e_attachment_is_mail_note (EAttachment *attachment);

`e_attachment_is_mail_note` is deprecated and should not be used in newly-written code.

### e_attachment_get_can_show ()

    gboolean
    e_attachment_get_can_show (EAttachment *attachment);

`e_attachment_get_can_show` is deprecated and should not be used in newly-written code.

### e_attachment_set_can_show ()

    void
    e_attachment_set_can_show (EAttachment *attachment,
                               gboolean can_show);

`e_attachment_set_can_show` is deprecated and should not be used in newly-written code.

### e_attachment_get_disposition ()

    const gchar *
    e_attachment_get_disposition (EAttachment *attachment);

`e_attachment_get_disposition` is deprecated and should not be used in newly-written code.

### e_attachment_dup_disposition ()

    gchar *
    e_attachment_dup_disposition (EAttachment *attachment);

`e_attachment_dup_disposition` is deprecated and should not be used in newly-written code.

### e_attachment_set_disposition ()

    void
    e_attachment_set_disposition (EAttachment *attachment,
                                  const gchar *disposition);

`e_attachment_set_disposition` is deprecated and should not be used in newly-written code.

### e_attachment_ref_file ()

    GFile *
    e_attachment_ref_file (EAttachment *attachment);

`e_attachment_ref_file` is deprecated and should not be used in newly-written code.

### e_attachment_set_file ()

    void
    e_attachment_set_file (EAttachment *attachment,
                           GFile *file);

`e_attachment_set_file` is deprecated and should not be used in newly-written code.

### e_attachment_ref_file_info ()

    GFileInfo *
    e_attachment_ref_file_info (EAttachment *attachment);

`e_attachment_ref_file_info` is deprecated and should not be used in newly-written code.

### e_attachment_set_file_info ()

    void
    e_attachment_set_file_info (EAttachment *attachment,
                                GFileInfo *file_info);

`e_attachment_set_file_info` is deprecated and should not be used in newly-written code.

### e_attachment_dup_mime_type ()

    gchar *
    e_attachment_dup_mime_type (EAttachment *attachment);

`e_attachment_dup_mime_type` is deprecated and should not be used in newly-written code.

Returns the MIME type of `attachment` according to its GFileInfo. If the `attachment` has no GFileInfo then the function returns `NULL`. Free the returned MIME type string with `g_free()`.

#### Parameters

attachment | an EAttachment |

#### Returns

a newly-allocated MIME type string, or `NULL`

### e_attachment_ref_icon ()

    GIcon *
    e_attachment_ref_icon (EAttachment *attachment);

`e_attachment_ref_icon` is deprecated and should not be used in newly-written code.

### e_attachment_get_loading ()

    gboolean
    e_attachment_get_loading (EAttachment *attachment);

`e_attachment_get_loading` is deprecated and should not be used in newly-written code.

### e_attachment_ref_mime_part ()

    CamelMimePart *
    e_attachment_ref_mime_part (EAttachment *attachment);

`e_attachment_ref_mime_part` is deprecated and should not be used in newly-written code.

### e_attachment_set_mime_part ()

    void
    e_attachment_set_mime_part (EAttachment *attachment,
                                CamelMimePart *mime_part);

`e_attachment_set_mime_part` is deprecated and should not be used in newly-written code.

### e_attachment_get_percent ()

    gint
    e_attachment_get_percent (EAttachment *attachment);

`e_attachment_get_percent` is deprecated and should not be used in newly-written code.

### e_attachment_get_saving ()

    gboolean
    e_attachment_get_saving (EAttachment *attachment);

`e_attachment_get_saving` is deprecated and should not be used in newly-written code.

### e_attachment_get_initially_shown ()

    gboolean
    e_attachment_get_initially_shown (EAttachment *attachment);

`e_attachment_get_initially_shown` is deprecated and should not be used in newly-written code.

### e_attachment_set_initially_shown ()

    void
    e_attachment_set_initially_shown (EAttachment *attachment,
                                      gboolean initially_shown);

`e_attachment_set_initially_shown` is deprecated and should not be used in newly-written code.

### e_attachment_get_save_self ()

    gboolean
    e_attachment_get_save_self (EAttachment *attachment);

`e_attachment_get_save_self` is deprecated and should not be used in newly-written code.

### e_attachment_set_save_self ()

    void
    e_attachment_set_save_self (EAttachment *attachment,
                                gboolean save_self);

`e_attachment_set_save_self` is deprecated and should not be used in newly-written code.

### e_attachment_get_save_extracted ()

    gboolean
    e_attachment_get_save_extracted (EAttachment *attachment);

`e_attachment_get_save_extracted` is deprecated and should not be used in newly-written code.

### e_attachment_set_save_extracted ()

    void
    e_attachment_set_save_extracted (EAttachment *attachment,
                                     gboolean save_extracted);

`e_attachment_set_save_extracted` is deprecated and should not be used in newly-written code.

### e_attachment_get_encrypted ()

    CamelCipherValidityEncrypt
    e_attachment_get_encrypted (EAttachment *attachment);

`e_attachment_get_encrypted` is deprecated and should not be used in newly-written code.

### e_attachment_set_encrypted ()

    void
    e_attachment_set_encrypted (EAttachment *attachment,
                                CamelCipherValidityEncrypt encrypted);

`e_attachment_set_encrypted` is deprecated and should not be used in newly-written code.

### e_attachment_get_signed ()

    CamelCipherValiditySign
    e_attachment_get_signed (EAttachment *attachment);

`e_attachment_get_signed` is deprecated and should not be used in newly-written code.

### e_attachment_set_signed ()

    void
    e_attachment_set_signed (EAttachment *attachment,
                             CamelCipherValiditySign signed_);

`e_attachment_set_signed` is deprecated and should not be used in newly-written code.

### e_attachment_dup_description ()

    gchar *
    e_attachment_dup_description (EAttachment *attachment);

`e_attachment_dup_description` is deprecated and should not be used in newly-written code.

### e_attachment_dup_thumbnail_path ()

    gchar *
    e_attachment_dup_thumbnail_path (EAttachment *attachment);

`e_attachment_dup_thumbnail_path` is deprecated and should not be used in newly-written code.

### e_attachment_is_rfc822 ()

    gboolean
    e_attachment_is_rfc822 (EAttachment *attachment);

`e_attachment_is_rfc822` is deprecated and should not be used in newly-written code.

### e_attachment_list_apps ()

    GList *
    e_attachment_list_apps (EAttachment *attachment);

`e_attachment_list_apps` is deprecated and should not be used in newly-written code.

### e_attachment_ref_default_app ()

    GAppInfo *
    e_attachment_ref_default_app (EAttachment *attachment);

`e_attachment_ref_default_app` is deprecated and should not be used in newly-written code.

### e_attachment_update_store_columns ()

    void
    e_attachment_update_store_columns (EAttachment *attachment);

`e_attachment_update_store_columns` is deprecated and should not be used in newly-written code.

### e_attachment_load_async ()

    void
    e_attachment_load_async (EAttachment *attachment,
                             GAsyncReadyCallback callback,
                             gpointer user_data);

`e_attachment_load_async` is deprecated and should not be used in newly-written code.

### e_attachment_load_finish ()

    gboolean
    e_attachment_load_finish (EAttachment *attachment,
                              GAsyncResult *result,
                              GError **error);

`e_attachment_load_finish` is deprecated and should not be used in newly-written code.

### e_attachment_load ()

    gboolean
    e_attachment_load (EAttachment *attachment,
                       GError **error);

`e_attachment_load` is deprecated and should not be used in newly-written code.

### e_attachment_open_async ()

    void
    e_attachment_open_async (EAttachment *attachment,
                             GAppInfo *app_info,
                             GAsyncReadyCallback callback,
                             gpointer user_data);

`e_attachment_open_async` is deprecated and should not be used in newly-written code.

### e_attachment_open_finish ()

    gboolean
    e_attachment_open_finish (EAttachment *attachment,
                              GAsyncResult *result,
                              GError **error);

`e_attachment_open_finish` is deprecated and should not be used in newly-written code.

### e_attachment_open ()

    gboolean
    e_attachment_open (EAttachment *attachment,
                       GAppInfo *app_info,
                       GError **error);

`e_attachment_open` is deprecated and should not be used in newly-written code.

### e_attachment_save_async ()

    void
    e_attachment_save_async (EAttachment *attachment,
                             GFile *destination,
                             GAsyncReadyCallback callback,
                             gpointer user_data);

`e_attachment_save_async` is deprecated and should not be used in newly-written code.

### e_attachment_save_finish ()

    GFile *
    e_attachment_save_finish (EAttachment *attachment,
                              GAsyncResult *result,
                              GError **error);

`e_attachment_save_finish` is deprecated and should not be used in newly-written code.

### e_attachment_save ()

    gboolean
    e_attachment_save (EAttachment *attachment,
                       GFile *in_destination,
                       GFile **out_destination,
                       GError **error);

`e_attachment_save` is deprecated and should not be used in newly-written code.

### e_attachment_load_handle_error ()

    void
    e_attachment_load_handle_error (EAttachment *attachment,
                                    GAsyncResult *result,
                                    GtkWindow *parent);

`e_attachment_load_handle_error` is deprecated and should not be used in newly-written code.

### e_attachment_open_handle_error ()

    void
    e_attachment_open_handle_error (EAttachment *attachment,
                                    GAsyncResult *result,
                                    GtkWindow *parent);

`e_attachment_open_handle_error` is deprecated and should not be used in newly-written code.

### e_attachment_save_handle_error ()

    void
    e_attachment_save_handle_error (EAttachment *attachment,
                                    GAsyncResult *result,
                                    GtkWindow *parent);

`e_attachment_save_handle_error` is deprecated and should not be used in newly-written code.

## Types and Values