Skip to content

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

Merged
merged 5 commits into from
Apr 24, 2022
Merged

Conversation

markgardner
Copy link
Contributor

This will enable development teams to test emails from a system like mailcatcher while also having the email delivered to the indented mailbox.

@JonathonReinhart
Copy link
Collaborator

I haven't looked closely yet, but this has some overlap with (and if accepted, might supersede) #31.

@markgardner
Copy link
Contributor Author

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
}
}
Copy link
Owner

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

Copy link
Contributor Author

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

Copy link
Owner

@decke decke Apr 24, 2022

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!

@decke
Copy link
Owner

decke commented Mar 17, 2022

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.
@markgardner
Copy link
Contributor Author

@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
}
}
Copy link
Owner

@decke decke Apr 24, 2022

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!

@decke decke merged commit bf8c222 into decke:master Apr 24, 2022
@decke
Copy link
Owner

decke commented Apr 24, 2022

Thanks a lot for your contribution! :o)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants