[PR #69] [MERGED] Webhook support #101

Closed
opened 2026-02-25 23:39:55 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/HaschekSolutions/opentrashmail/pull/69
Author: @Lars-
Created: 11/30/2023
Status: Merged
Merged: 12/1/2023
Merged by: @geek-at

Base: masterHead: master


📝 Commits (7)

  • 249fce2 docs: added logs to dev setup command
  • a09ace7 feat: added webhook support when a mail is received
  • ed9f137 chore: updated example config.ini
  • f92aee9 docs: updated readme
  • f0a990f docs: updated changelog
  • 9e1ba05 chore: updated docker-compose files
  • 9dbe537 fix: added default value for webhook_url

📊 Changes

9 files changed (+45 additions, -11 deletions)

View changed files

📝 CHANGELOG.md (+3 -0)
📝 README.md (+5 -2)
📝 docker-compose-dev.yml (+2 -1)
📝 docker-compose.yml (+2 -1)
📝 docker/Dockerfile (+2 -1)
📝 docker/rootfs/start.sh (+3 -0)
📝 docs/Dev.md (+1 -0)
📝 example.config.ini (+3 -1)
📝 python/mailserver3.py (+24 -5)

📄 Description

This pull request adds webhook support.

I often find myself polling email boxes, this feature will change that forever. It simply sends a POST call to the WEBHOOK_URL env setting. The call contains everything that is saved in the data file.

The only thing you need to do after merging is update the changelog for the correct version, I already changed the examples and the readme.

There was also a small oversight in Dev.md, I fixed that as well in this PR.

I hope this is something you like. Let me know what you think!


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/HaschekSolutions/opentrashmail/pull/69 **Author:** [@Lars-](https://github.com/Lars-) **Created:** 11/30/2023 **Status:** ✅ Merged **Merged:** 12/1/2023 **Merged by:** [@geek-at](https://github.com/geek-at) **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (7) - [`249fce2`](https://github.com/HaschekSolutions/opentrashmail/commit/249fce2a968882349bbb00257a60833ac5163125) docs: added logs to dev setup command - [`a09ace7`](https://github.com/HaschekSolutions/opentrashmail/commit/a09ace7ed99aa13f614202586365138c069ef30f) feat: added webhook support when a mail is received - [`ed9f137`](https://github.com/HaschekSolutions/opentrashmail/commit/ed9f137aebdd93cbc0d5067fd646e3e2416ea26f) chore: updated example config.ini - [`f92aee9`](https://github.com/HaschekSolutions/opentrashmail/commit/f92aee955509a33f37e8f41934cc4c5d375bbf6e) docs: updated readme - [`f0a990f`](https://github.com/HaschekSolutions/opentrashmail/commit/f0a990fde46e15bcefc7c3faf6935384f71ea84f) docs: updated changelog - [`9e1ba05`](https://github.com/HaschekSolutions/opentrashmail/commit/9e1ba05631c78fa5e5833aae72ea8962b509d18b) chore: updated docker-compose files - [`9dbe537`](https://github.com/HaschekSolutions/opentrashmail/commit/9dbe5374e97722ff774b00a6682414c13df90d41) fix: added default value for webhook_url ### 📊 Changes **9 files changed** (+45 additions, -11 deletions) <details> <summary>View changed files</summary> 📝 `CHANGELOG.md` (+3 -0) 📝 `README.md` (+5 -2) 📝 `docker-compose-dev.yml` (+2 -1) 📝 `docker-compose.yml` (+2 -1) 📝 `docker/Dockerfile` (+2 -1) 📝 `docker/rootfs/start.sh` (+3 -0) 📝 `docs/Dev.md` (+1 -0) 📝 `example.config.ini` (+3 -1) 📝 `python/mailserver3.py` (+24 -5) </details> ### 📄 Description This pull request adds webhook support. I often find myself polling email boxes, this feature will change that forever. It simply sends a POST call to the `WEBHOOK_URL` env setting. The call contains everything that is saved in the data file. The only thing you need to do after merging is update the changelog for the correct version, I already changed the examples and the readme. There was also a small oversight in Dev.md, I fixed that as well in this PR. I hope this is something you like. Let me know what you think! --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-25 23:39:55 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/opentrashmail#101
No description provided.