## mail-ops mail-ops |

## Functions

void | mail_transfer_messages ()
void | mail_sync_folder ()
void | mail_sync_store ()
void | mail_empty_trash ()
void | mail_send_queue ()
void | (*MailProviderFetchLockFunc) ()
void | (*MailProviderFetchUnlockFunc) ()
CamelFolder | (*MailProviderFetchInboxFunc) ()
void | mail_fetch_mail ()
void | mail_filter_folder ()
void | mail_process_folder_changes ()
void | mail_execute_shell_command ()

## Types and Values

#define | MAIL_USER_KEY_EDITING

## Description

## Functions

### mail_transfer_messages ()

    void
    mail_transfer_messages (EMailSession *session,
                            CamelFolder *source,
                            GPtrArray *uids,
                            gboolean delete_from_source,
                            const gchar *dest_uri,
                            guint32 dest_flags,
                            void (*done) (gboolean ok, gpointer data),
                            gpointer data);

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

### mail_sync_folder ()

    void
    mail_sync_folder (CamelFolder *folder,
                      gboolean test_for_expunge,
                      void (*done) (CamelFolder *folder, gpointer data),
                      gpointer data);

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

### mail_sync_store ()

    void
    mail_sync_store (CamelStore *store,
                     gint expunge,
                     void (*done) (CamelStore *store, gpointer data),
                     gpointer data);

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

### mail_empty_trash ()

    void
    mail_empty_trash (CamelStore *store);

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

### mail_send_queue ()

    void
    mail_send_queue (EMailSession *session,
                     CamelFolder *queue,
                     CamelTransport *transport,
                     const gchar *type,
                     gboolean immediately,
                     GCancellable *cancellable,
                     CamelFilterGetFolderFunc get_folder,
                     gpointer get_data,
                     CamelFilterStatusFunc status,
                     gpointer status_data,
                     gboolean (* done) (gpointer data, const GError *error, const GPtrArray *failed_uids),
                     gpointer data);

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

### MailProviderFetchLockFunc ()

    void
    (*MailProviderFetchLockFunc) (const gchar *source);

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

### MailProviderFetchUnlockFunc ()

    void
    (*MailProviderFetchUnlockFunc) (const gchar *source);

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

### MailProviderFetchInboxFunc ()

    CamelFolder
    (*MailProviderFetchInboxFunc) (const gchar *source,
                                   GCancellable *cancellable,
                                   GError **error);

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

### mail_fetch_mail ()

    void
    mail_fetch_mail (CamelStore *store,
                     const gchar *type,
                     MailProviderFetchLockFunc lock_func,
                     MailProviderFetchUnlockFunc unlock_func,
                     MailProviderFetchInboxFunc fetch_inbox_func,
                     GCancellable *cancellable,
                     CamelFilterGetFolderFunc get_folder,
                     gpointer get_data,
                     CamelFilterStatusFunc status,
                     gpointer status_data,
                     void (*done) (gpointer data),
                     gpointer data);

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

### mail_filter_folder ()

    void
    mail_filter_folder (EMailSession *session,
                        CamelFolder *source_folder,
                        GPtrArray *uids,
                        const gchar *type,
                        gboolean notify);

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

### mail_process_folder_changes ()

    void
    mail_process_folder_changes (CamelFolder *folder,
                                 CamelFolderChangeInfo *changes,
                                 void (*process) (CamelFolder *folder, CamelFolderChangeInfo *changes, GCancellable *cancellable, GError **error, gpointer user_data),
                                 void (* done) (gpointer user_data),
                                 gpointer user_data);

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

### mail_execute_shell_command ()

    void
    mail_execute_shell_command (CamelFilterDriver *driver,
                                gint argc,
                                gchar **argv,
                                gpointer data);

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

## Types and Values

### MAIL_USER_KEY_EDITING

    #define MAIL_USER_KEY_EDITING "mail-user-key-editing"

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