go-mail
go-imap
Our great sponsors
go-mail | go-imap | |
---|---|---|
8 | 5 | |
462 | 1,994 | |
- | - | |
9.0 | 9.0 | |
about 23 hours ago | 2 days 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.
go-imap
-
Mail has saved over a thousand draft emails to the wrong folder
The way I eventually solved it was to create a custom script in Go (using the emersion/go-imap library) that could interact with the IMAP server, retrieve all of the emails and then checking the headers and then moving them to the bin. Took about 60 seconds to process 44,000 emails and remove over 1,000 drafts that were in the wrong place.
-
Bridge and Thunderbird Trash
They are going to replace go-imap with gluon. That's an effort which has been going on for quite a while.
-
Proton Bridge: Message UIDs are not stable / possible data loss (deletion of wrong messages)
Yeah, this really need attention now. I'm spotting the go-imap (which seems to be the real culprit) replacement being worked on, which is great! But, u/ProtonMail and u/bartbutler, please push all you can internally.
-
Our ProtonMail Adventure – A Five Act Drama
they seem to blame go-imap (https://github.com/emersion/go-imap). at a quick glance the library itself doesn't seem to have an open issue describing the problem.
curious if that author's (deprecated) protonmail bridge hydroxide (https://github.com/emersion/hydroxide) has the same problem.
-
Some amazing Golang email libraries
github.com/emersion/go-imap
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.
Gomail - The best way to send emails in Go.
email - Robust and flexible email library for Go
Hectane - Lightweight SMTP client written in Go
SendGrid - The Official Twilio SendGrid Golang API Library
lateralus - Lateralus is terminal based phishing campaign tool
Trumail
douceur - A simple CSS parser and inliner in Go
hermes - Golang package that generates clean, responsive HTML e-mails for sending transactional mail