go-mail
Gomail
Our great sponsors
go-mail | Gomail | |
---|---|---|
8 | 2 | |
462 | 4,197 | |
- | 0.6% | |
9.0 | 0.0 | |
about 12 hours ago | about 1 year ago | |
Go | Go | |
MIT License | MIT License |
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.
Gomail
-
Sending (form-)mails from static websites with Go
In the first iterations of js-mailer I used the popular go-gomail/gomail package for handling the mail sending part. Unfortunately the project isn't maintained anymore and uses some pretty outdated opinions on how to handle the mail sending.
-
Go, RabbitMQ and gRPC Clean Architecture microservice 💫👋
I use Gomail for send emails, of course some SMTP server is required, but you can google many free variants for testing. Send method is very simple:
What are some alternatives?
sesdashboard - Analytics and activity tracking dashboard for AWS Simple Email Service
MailHog - Web and API based SMTP testing
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
Hectane - Lightweight SMTP client written in Go
go-imap - 📥 An IMAP library for clients and servers
lateralus - Lateralus is terminal based phishing campaign tool
go-simple-mail - Golang package for send email. Support keep alive connection, TLS and SSL. Easy for bulk SMTP.
douceur - A simple CSS parser and inliner in Go
smtp - MailHog SMTP Protocol
email - Robust and flexible email library for Go