-
Notifications
You must be signed in to change notification settings - Fork 32
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
Add TLS support #2
Comments
This sounds great! I'll be looking forward to your pull request. |
I'm assuming this never happened? |
@alevy Apparently not. |
This fork has has seen a lot more development progress. Check it out, it may have what you're looking for: https://github.com/avieth/smtp-mail |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm just creating this ticket to prevent duplicated work. I'm working on TLS support right now.
First, I'm going to make a pure interface to the SMTP functionality by using a beautiful dependency injection technique:
The protocol functions (
sendCommand
, etc.) will be in theMonadSMTP
class:And the caller will provide a MonadSMTP instance that provides all of the requested capabilities.
This has several benefits:
SMTPConnection
down the call chain. A Reader monad would provide the same benefit.smtp-conduit
packageThe text was updated successfully, but these errors were encountered: