transfer_messages_to_sync


Description:

[ Version ( since = "3.0" ) ]
public virtual bool transfer_messages_to_sync (GenericArray<string> message_uids, Folder destination, bool delete_originals, out GenericArray<string>? transferred_uids, Cancellable? cancellable = null) throws Error

Copies or moves messages from one folder to another.

If the this and destination folders have the same parent_store, this may be more efficient than using append_message_sync.

Parameters:

this

the source Folder

message_uids

message UIDs in this

destination

the destination Folder

delete_originals

whether or not to delete the original messages

transferred_uids

if non-null, the UIDs of the resulting messages in destination will be stored here, if known.

cancellable

optional Cancellable object, or null

Returns:

true on success, false on failure