binwiederhier / ntfy

Send push notifications to your phone or desktop using PUT/POST
https://ntfy.sh
Apache License 2.0
17.23k stars 662 forks source link

Add support for SMTP AUTH_LOGIN #930

Open wunter8 opened 8 months ago

wunter8 commented 8 months ago

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)

binwiederhier commented 7 months ago

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

wunter8 commented 7 months ago

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