*
* @obj: a #GObject generic object which has created current mail operation.
* @user_data: generic data passed to user defined function.
*
* @obj: a #GObject generic object which has created current mail operation.
* @user_data: generic data passed to user defined function.
* used as tinymail operation callback. The private function fills private
* fields of mail operation and calls user defined callback if it exists.
*/
* used as tinymail operation callback. The private function fills private
* fields of mail operation and calls user defined callback if it exists.
*/
/* Signals */
void (*progress_changed) (ModestMailOperation *self, ModestMailOperationState *state, gpointer user_data);
/* Signals */
void (*progress_changed) (ModestMailOperation *self, ModestMailOperationState *state, gpointer user_data);
* @html_body: the html version of the body of the new mail. If NULL, the mail will
* be sent with the plain body only.
* @attachments_list: a #GList of attachments, each attachment must be a #TnyMimePart
* @html_body: the html version of the body of the new mail. If NULL, the mail will
* be sent with the plain body only.
* @attachments_list: a #GList of attachments, each attachment must be a #TnyMimePart
*
* Sends a new mail message using the provided
* #TnyTransportAccount. This operation is synchronous, so the
*
* Sends a new mail message using the provided
* #TnyTransportAccount. This operation is synchronous, so the
* @html_body: the html version of the body of the new mail. If NULL, the mail will
* be sent with the plain body only.
* @attachments_list: a #GList of attachments, each attachment must be a #TnyMimePart
* @html_body: the html version of the body of the new mail. If NULL, the mail will
* be sent with the plain body only.
* @attachments_list: a #GList of attachments, each attachment must be a #TnyMimePart
*
* Save a mail message to drafts using the provided
* #TnyTransportAccount. This operation is synchronous, so the
*
* Save a mail message to drafts using the provided
* #TnyTransportAccount. This operation is synchronous, so the
* @folder: a #TnyFolder
* @parent: the new parent of the folder as #TnyFolderStore
* @delete_original: wheter or not delete the original folder
* @folder: a #TnyFolder
* @parent: the new parent of the folder as #TnyFolderStore
* @delete_original: wheter or not delete the original folder
* @user_data: generic user data which will be passed to @user_callback function.
*
* Sets the given @folder as child of a provided #TnyFolderStore. This
* @user_data: generic user data which will be passed to @user_callback function.
*
* Sets the given @folder as child of a provided #TnyFolderStore. This
* @header_list: a #TnyList of #TnyHeader to transfer
* @folder: the #TnyFolder where the messages will be transferred
* @delete_original: whether or not delete the source messages
* @header_list: a #TnyList of #TnyHeader to transfer
* @folder: the #TnyFolder where the messages will be transferred
* @delete_original: whether or not delete the source messages
* @user_data: generic user data which will be passed to @user_callback function.
*
* Asynchronously transfers messages from their current folder to
* @user_data: generic user data which will be passed to @user_callback function.
*
* Asynchronously transfers messages from their current folder to