-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
auth for mail release #15
Comments
Good idea :) 👍 |
In fact I might take a stab at this myself.. not a go exper but I;ll give it a shot ;-) |
This is mostly implemented, username/password are supported for PLAIN and CRAMMD5 mechanisms, both via API and web UI. There's also support for saving SMTP servers via the API and web UI when releasing a message (they can be reused for the rest of the MailHog session, but are lost when its restarted). You can also load SMTP servers from a JSON file with the flag |
I'll close this for now - the implementation should do everything you needed I might come back to it and clean it up a bit in future, but the original intention for SMTP release was to forward messages to a real destination, which typically doesn't require authentication anyway. |
There's no way to release mail via a smtp server that requires username/password.
Could you please add this?
Furthermore it would be great to specify default values for username/password/host/port via environment variables or command line options.
The text was updated successfully, but these errors were encountered: