Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add server support #3

Open
emersion opened this issue Oct 23, 2016 · 6 comments
Open

Add server support #3

emersion opened this issue Oct 23, 2016 · 6 comments

Comments

@emersion
Copy link
Owner

No description provided.

@foxcpp
Copy link

foxcpp commented Mar 2, 2019

What exactly is needed for server support?

  • UID EXPUNGE (Add UidHandle method to commands.Expunge)
  • CodeAppendUid (Override APPEND command with one that returns UID?)
  • CodeCopyUid (Override COPY command with one that returns UIDs?)
  • Backend support. UidCopyMessages, UidCreateMessage methods that return UIDs of created messages.

Am I right? Do you have any ideas of what to do with codes because I don't know much about go-imap design?

@emersion
Copy link
Owner Author

emersion commented Mar 3, 2019

Yeah, I think you're right.

I'm still not sure how to properly implement CodeAppendUid and CodeCopyUid properly. Overridding the existing commands would probably work for now. It's not a perfect solution as enabling another extension which overrides the same command it will mess things up. I haven't found a better design yet, though.

@foxcpp
Copy link

foxcpp commented Mar 6, 2019 via email

@horejsek
Copy link

horejsek commented Jan 8, 2020

@foxcpp Hi, do you have some implementation already or not at all yet?

@foxcpp
Copy link

foxcpp commented Jan 8, 2020

@foxcpp Hi, do you have some implementation already or not at all yet?

Unfortunatly, this task was lost deep in my TODO list and then I decided to defer it until go-imap v2 redesign. So, no.

@emersion
Copy link
Owner Author

emersion commented Sep 7, 2021

The plan is to merge this into go-imap, then we can more easily add support for things like CodeAppendUid.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants