mirror of
https://github.com/binwiederhier/ntfy.git
synced 2026-05-09 08:26:00 +02:00
[PR #623] [CLOSED] allow publishing of text/html emails #1356
Labels
No labels
ai-generated
android-app
android-app
android-app
🪲 bug
build
build
dependencies
docs
enhancement
enhancement
🔥 HOT
in-progress 🏃
ios
prio:low
prio:low
pull-request
question
🔒 security
server
server
unified-push
web-app
website
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ntfy#1356
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/binwiederhier/ntfy/pull/623
Author: @tamcore
Created: 2/20/2023
Status: ❌ Closed
Base:
main← Head:feature/publish-html-mails📝 Commits (2)
893360dallow publishing of text/html emails5ac44ffreplace html2text package with a basic regex; reorder text/html processing to be last📊 Changes
2 files changed (+82 additions, -0 deletions)
View changed files
📝
server/smtp_server.go(+23 -0)📝
server/smtp_server_test.go(+59 -0)📄 Description
This allows publishing of emails with
Content-Type: text/htmltype, by quickly converting them to plaintext. I ran into this issue, when i tried to point my traccar instance's email notifications towards my ntfy instance.Container image to test
ghcr.io/tamcore/ntfy@sha256:caa2c16b9eef9fd6a3d32e9b4621bb32218198fb5931481f3b96ce72819f22b0🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.