go-mail
go-mail
Our great sponsors
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
go-mail
-
HUGO
Using it for my private blog, a website of a NPO and the documentation site forgo-mail. Wouldn't choose anything else anymore if I don't have to.
-
Auth error when trying to send an email via SSL
You might want to check out the go-mail package, which takes care of all this for you.
-
Learn how to send emails in golang with the standard Go library and gomail library using Gmail
The used [gopkg.in/mail.v2](gopkg.in/mail.v2) package hasn't seen an update in 4 years and seems unmaintained. I suggest to use go-mail instead.
- Latest go-mail release provides much better delivery error handling.
-
Code Sample to Send Emails in Go with the net/SMTP Package
The gomail package you are referring to has not seen an update for 6 years and seems to be unmaintained. I suggest to use go-mail instead, which is actively maintained and implements some additional features that are not found in the unmaintained one.
- go-mail - Easy to use, yet comprehensive library for sending mails with Go
-
Sending mails in Go the easy way
$ go run main.go Date: Sat, 08 Oct 2022 12:47:50 +0200 MIME-Version: 1.0 Message-ID: <[email protected]> Subject: Why are you not using go-mail yet? User-Agent: go-mail v0.2.9 // https://github.com/wneessen/go-mail X-Mailer: go-mail v0.2.9 // https://github.com/wneessen/go-mail From: To: Content-Type: multipart/alternative; boundary=9c5a427bc18e45ff56e0b8f7053cddceaca54a5c985a425213544ab7977f --9c5a427bc18e45ff56e0b8f7053cddceaca54a5c985a425213544ab7977f Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=UTF-8 You won't need a sales pitch. It's FOSS and HTML! --9c5a427bc18e45ff56e0b8f7053cddceaca54a5c985a425213544ab7977f Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 You won't need a sales pitch. It's FOSS and plain text! --9c5a427bc18e45ff56e0b8f7053cddceaca54a5c985a425213544ab7977f--
-
Sending (form-)mails from static websites with Go
Due to the above mentioned reasons and the lack of proper alternatives decided to write my own Go mail library. On a long weekend I started working on wneessen/go-mail and in the night of Sunday I had a kind of working prototype and I implemented it with js-mailer.
go-mail
We haven't tracked posts mentioning go-mail yet.
Tracking mentions began in Dec 2020.
What are some alternatives?
sesdashboard - Analytics and activity tracking dashboard for AWS Simple Email Service
Gomail - The best way to send emails in Go.
inbucket - Disposable webmail server (similar to Mailinator) with built in SMTP, POP3, RESTful servers; no DB required.
hermes - Golang package that generates clean, responsive HTML e-mails for sending transactional mail
email - Robust and flexible email library for Go
Hectane - Lightweight SMTP client written in Go
MailHog - Web and API based SMTP testing
lateralus - Lateralus is terminal based phishing campaign tool
Trumail
douceur - A simple CSS parser and inliner in Go
aws-ses-pop3-server - The missing POP3 💌 server for Amazon Simple Email Service - written in golang.