Skip to content
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

Golang | sending email #47

Open
atc0005 opened this issue Jan 12, 2020 · 4 comments
Open

Golang | sending email #47

atc0005 opened this issue Jan 12, 2020 · 4 comments

Comments

@atc0005
Copy link
Owner

atc0005 commented Jan 12, 2020

Ranked by "last activity" (as of 2020-07-09):

@atc0005
Copy link
Owner Author

atc0005 commented Jul 9, 2020

emersion/go-smtp@2f00eaf

The Go standard library provides a SMTP client implementation in net/smtp.
However net/smtp is frozen: it's not getting any new features. go-smtp
provides a server implementation and a number of client improvements.

@atc0005
Copy link
Owner Author

atc0005 commented Jul 9, 2020

See the example on https://github.com/tangingw/go_smtp/blob/3f565e36c589fba5c3389422bac69a47a9d1366b/send_mail.go#L52-L85 for an example of encoding the body before it is sent.

I would quote here, but the repo doesn't specify a license.

@atc0005
Copy link
Owner Author

atc0005 commented Jul 9, 2020

@atc0005
Copy link
Owner Author

atc0005 commented Jul 9, 2020

https://github.com/jordan-wright/email

Found that one by way of the mailtrap.io tutorial, haven't dug into it yet.

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

No branches or pull requests

1 participant