Commit Graph

18 Commits

Author SHA1 Message Date
binwiederhier 859a4e4f79 Added another test 2023-11-16 09:58:32 -05:00
binwiederhier 7f1855ad4d It's better than nothing 2023-11-16 09:49:35 -05:00
binwiederhier b42958de9f Merge branch 'main' of github.com:binwiederhier/ntfy into html-emails 2023-11-16 06:11:00 -05:00
binwiederhier f4e6874ff0 Formatting 2023-05-09 20:57:09 -04:00
Guillaume Taquet Gasperini 5b8520b4e0 Add quoted-printable decoding to smtp server
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
2023-05-08 10:54:34 +02:00
binwiederhier d88dbbc90f WIP 2023-04-02 13:59:26 -04:00
Philipp Born e892b994c3
add support to pass access-token for e-mail publishing 2023-02-20 12:45:43 +01:00
binwiederhier 5f75e98861 Parse nested multipart emails, fixes #610 2023-02-19 10:13:25 -05:00
binwiederhier e9b05e8ed7 Support for base64 encoded emails 2023-02-19 09:39:04 -05:00
binwiederhier 8d7ff4d7db SMTP server tests 2023-02-14 20:56:02 -05:00
binwiederhier 36c0be1097 Upgrade smtp library, but not tests 2023-01-04 09:31:32 -05:00
Philipp Heckel 18bd3c0e55 Docs and Matrix tests 2022-06-16 11:40:56 -04:00
Philipp Heckel 8283b6be97 Firebase quota limit 2022-05-31 20:38:56 -04:00
Philipp Heckel 2abd6a57ee Support emails without Content-Type, closes #265 2022-05-21 20:20:44 -04:00
Philipp Heckel 7b37141e07 Increase message size limit to 4096 2021-12-31 16:12:53 +01:00
Philipp Heckel a46a520bca Fix tests 2021-12-28 01:48:58 +01:00
Philipp Heckel 04719f8dee Flip title and message if message is empty 2021-12-28 01:41:00 +01:00
Philipp Heckel 113053a9e3 Fix encoding issues 2021-12-28 01:26:20 +01:00