[PR #719] [MERGED] Add quoted-printable decoding to smtp server #1389

Closed
opened 2026-05-07 01:01:53 +02:00 by BreizhHardware · 0 comments

📋 Pull Request Information

Original PR: https://github.com/binwiederhier/ntfy/pull/719
Author: @Aerion
Created: 5/8/2023
Status: Merged
Merged: 5/9/2023
Merged by: @binwiederhier

Base: mainHead: decode-quoted-printable


📝 Commits (1)

  • 5b8520b Add quoted-printable decoding to smtp server

📊 Changes

2 files changed (+80 additions, -0 deletions)

View changed files

📝 server/smtp_server.go (+3 -0)
📝 server/smtp_server_test.go (+77 -0)

📄 Description

Some e-mails are sent using quoted-printable encoding [0], resulting in notifications with weird characters.

This commit adds support for this encoding, resulting in the following:

Before

A
=3D=3D=3D=3D=3D
B
=3D=3D=3D=3D=3D
C

After

A
=====
B
=====
C

[0] https://www.rfc-editor.org/rfc/rfc2045.html


🔄 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/binwiederhier/ntfy/pull/719 **Author:** [@Aerion](https://github.com/Aerion) **Created:** 5/8/2023 **Status:** ✅ Merged **Merged:** 5/9/2023 **Merged by:** [@binwiederhier](https://github.com/binwiederhier) **Base:** `main` ← **Head:** `decode-quoted-printable` --- ### 📝 Commits (1) - [`5b8520b`](https://github.com/binwiederhier/ntfy/commit/5b8520b4e0687a1eda5e96f269a1a3bb08bff98b) Add quoted-printable decoding to smtp server ### 📊 Changes **2 files changed** (+80 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `server/smtp_server.go` (+3 -0) 📝 `server/smtp_server_test.go` (+77 -0) </details> ### 📄 Description Some e-mails are sent using quoted-printable encoding [0], resulting in notifications with weird characters. This commit adds support for this encoding, resulting in the following: **Before** ``` A =3D=3D=3D=3D=3D B =3D=3D=3D=3D=3D C ``` **After** ``` A ===== B ===== C ``` [0] https://www.rfc-editor.org/rfc/rfc2045.html --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
BreizhHardware 2026-05-07 01:01:53 +02: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/ntfy#1389
No description provided.