[GH-ISSUE #930] Add support for SMTP AUTH_LOGIN #652

Open
opened 2026-05-07 00:26:18 +02:00 by BreizhHardware · 3 comments

Originally created by @wunter8 on GitHub (Oct 24, 2023).
Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/930

The net/smtp package does not support AUTH LOGIN out of the box, but some SMTP servers only use AUTH LOGIN (instead of AUTH PLAIN).

It seems like this is all we would need to do to add AUTH LOGIN support (plus add a config value like smtp_auth_login)

Originally created by @wunter8 on GitHub (Oct 24, 2023). Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/930 The net/smtp package does not support AUTH LOGIN out of the box, but some SMTP servers only use AUTH LOGIN (instead of AUTH PLAIN). It seems like [this](https://gist.github.com/andelf/5118732) is all we would need to do to add AUTH LOGIN support (plus add a config value like `smtp_auth_login`)
Author
Owner

@binwiederhier commented on GitHub (Nov 19, 2023):

I would accept PRs for this, but I don't tihnk I have a server that supports AUTH LOGIN

<!-- gh-comment-id:1817728155 --> @binwiederhier commented on GitHub (Nov 19, 2023): I would accept PRs for this, but I don't tihnk I have a server that supports AUTH LOGIN
Author
Owner

@wunter8 commented on GitHub (Nov 19, 2023):

I know Outlook is a big one. The one that prompted this ticket was OVH Cloud email. I don't need the feature (and might not have a server to test with either), but someone was affected by it, so I put it in here

<!-- gh-comment-id:1817730169 --> @wunter8 commented on GitHub (Nov 19, 2023): I know Outlook is a big one. The one that prompted this ticket was OVH Cloud email. I don't need the feature (and might not have a server to test with either), but someone was affected by it, so I put it in here
Author
Owner

@LECOQQ commented on GitHub (Mar 6, 2025):

I have OVH Cloud Email, and I have troubles running smtp w/ ntfy, while msmtp works flawlessly.
Should you need anything, feel free to ask, i'm willing to try any fix :D

<!-- gh-comment-id:2704328988 --> @LECOQQ commented on GitHub (Mar 6, 2025): I have OVH Cloud Email, and I have troubles running smtp w/ ntfy, while msmtp works flawlessly. Should you need anything, feel free to ask, i'm willing to try any fix :D
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#652
No description provided.