Skip to content

fix: support SMTP LOGIN auth and implicit TLS for port 465#243

Merged
andrinoff merged 2 commits intomasterfrom
fix/smtp
Mar 6, 2026
Merged

fix: support SMTP LOGIN auth and implicit TLS for port 465#243
andrinoff merged 2 commits intomasterfrom
fix/smtp

Conversation

@andrinoff
Copy link
Member

@andrinoff andrinoff commented Mar 6, 2026

Fixes #241

Added a loginAuth type implementing the SMTP LOGIN authentication mechanism
The code now checks the server's advertised AUTH mechanisms via c.Extension("AUTH") and selects PLAIN or LOGIN accordingly

Signed-off-by: drew <me@andrinoff.com>
@github-actions github-actions bot added the bug Something isn't working label Mar 6, 2026
@andrinoff andrinoff merged commit 58da15f into master Mar 6, 2026
2 checks passed
@andrinoff andrinoff deleted the fix/smtp branch March 6, 2026 18:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Failed to send email: 504 Unknown mechanism <PLAIN>

1 participant