~sircmpwn/aerc2#119: 
Move/copy messages across accounts

mv|cp -t account-name target-folder

Status
REPORTED
Submitter
~sircmpwn
Assigned to
No-one
Submitted
1 year, 4 days ago
Updated
a month ago
Labels
feature

~bfiedler a month ago

As far as I can tell there is a bit of work for implementing this feature, it roughly breaks down to the following:

  • Implement (aerc Aerc) GetStoreForAccount(name string) *lib.MessageStore (or similar)
  • Implement MessageStore.Append for appending messages
  • Implement move/copy functionality using FetchFull, Append and Delete

It looks to me like there are some changes needed in the FetchFull interface in oder to correctly call Append in the callback, since any MessageInfo isn't accessible anymore.

If this seems sensible I'd like to take a shot at implementing this.

Register here or Log in to comment, or comment via email.