go-simple-mail
Our great sponsors
go-simple-mail | ||
---|---|---|
1 | 5 | |
2,571 | 601 | |
- | - | |
0.0 | 6.0 | |
2 months ago | 25 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.
-
How to Send Emails in Go
Okay, we’ve taken care of the recipients. Now, what if we want to include an attachment with our message? Golang uses the mime/multipart method by default for this purpose, but it’s far from straightforward. That’s why developers prefer 3rd-party libraries that simplify the process without adding too much boilerplate. Among them, Jordan Wright’s “email” library is the most popular. It can also be used to add cc or bcc along with other features. We strongly recommend it.
go-simple-mail
-
Microsoft email servers don't support PlainAuth (without modification), but do support LoginAuth. I couldn't find a package to handle it, so I made this one.
This library should support login auth. Does it work with Microsoft email servers?
-
How to get "message-id" sent via net/smtp, SSL?
You can however set a custom message ID, although the standard library doesn't provide an easy way to do this. go-simple-mail to the rescue:
-
Library for sending emails in Go
I like go-simple-mail, it works well for my use case
-
net/smtp issue. "unencrypted connection"
Also, you can use this package https://github.com/xhit/go-simple-mail is easier than standard smtp package
-
Go, NATS, gRPC and PostgreSQL clean architecture microservice with monitoring and tracing 👋
MailHog is good solution for email testing, and for go smtp client here used go-simple-mail.
What are some alternatives?
go-imap - 📥 An IMAP library for clients and servers
MailHog - Web and API based SMTP testing
Gomail - The best way to send emails in Go.
mailyak - An elegant MIME/SMTP email library with support for attachments
go-dkim - DKIM package for golang
hermes - Golang package that generates clean, responsive HTML e-mails for sending transactional mail
Mailchain - Using Mailchain, blockchain users can now send and receive rich-media HTML messages with attachments via a blockchain address.
go-message - ✉️ A streaming Go library for the Internet Message Format and mail messages
go-mail - :incoming_envelope: Simple email interface across multiple service providers (ses, postmark, mandrill, smtp)
chasquid - SMTP (email) server with a focus on simplicity, security, and ease of operation [mirror]