-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Create issue via email #6226
Comments
I'd deploy is as a separate unit, and just create a support for creaing issues via API. Rationale is there can be a lot of sources to create an issue, and coupling the gitea with email recieving functionality seems unnesessarily specific. Consuming emails is a tricky thing, and it worth being a separate unit - maybe there is something we could utilize already. |
closes #13585 fixes #9067 fixes #2386 ref #6226 ref #6219 fixes #745 This PR adds support to process incoming emails to perform actions. Currently I added handling of replies and unsubscribing from issues/pulls. In contrast to #13585 the IMAP IDLE command is used instead of polling which results (in my opinion 😉) in cleaner code. Procedure: - When sending an issue/pull reply email, a token is generated which is present in the Reply-To and References header. - IMAP IDLE waits until a new email arrives - The token tells which action should be performed A possible signature and/or reply gets stripped from the content. I added a new service to the drone pipeline to test the receiving of incoming mails. If we keep this in, we may test our outgoing emails too in future. Co-authored-by: silverwind <me@silverwind.io> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
As can be seen in the timeline, Gitea does now handle incoming emails. Though currently with the restriction "existing users replying to existing issues". But it does mean it's now a much smaller step towards also accepting messages from addresses that don't belong to a registered user, and to have a repository-wide address that creates new issues/pull requests when messaged. Running a single-user instance where I would like to be able to accept contributions without having to deal with registered users, I would love to see this. |
Another Gitlab EE feature that would be nice to have in Gitea: https://docs.gitlab.com/ee/administration/incoming_email.html
This feature is blocking the service desk feature: #6219
The text was updated successfully, but these errors were encountered: