-
Notifications
You must be signed in to change notification settings - Fork 124
Allow config to have multiple remotes. #63
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
Conversation
I haven't looked closely yet, but this has some overlap with (and if accepted, might supersede) #31. |
Agreed, the scheme will allow TLS flow to be forced |
@@ -375,11 +376,11 @@ func SendMail(addr string, a smtp.Auth, from string, to []string, msg []byte) er | |||
} | |||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should check here if scheme is starttls:// but server did not announce STARTTLS extension => raise an error
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good call, I've added the error
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This diff looks a bit strange on github (don't know why) but I will have a look at that after the merge. Thanks!
Update: was just a glitch on the github diff preview. Code is fine!
The change is really great, thanks a lot for your work! |
This will enable development teams to test emails from a system like mailcatcher while also having the email delivered to the indented mailbox.
@decke I've made the changes. Let me know if there is anything else you see. Thanks for the project, this helps us a ton with testing. |
@@ -375,11 +376,11 @@ func SendMail(addr string, a smtp.Auth, from string, to []string, msg []byte) er | |||
} | |||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This diff looks a bit strange on github (don't know why) but I will have a look at that after the merge. Thanks!
Update: was just a glitch on the github diff preview. Code is fine!
Thanks a lot for your contribution! :o) |
This will enable development teams to test emails from a system like mailcatcher while also having the email delivered to the indented mailbox.