Popularity
1.3
Stable
Activity
0.0
Stable
5
3
2
Programming language: Go
Latest version: v0.2
directEmail alternatives and similar packages
Based on the "Email" category.
Alternatively, view directEmail alternatives based on common mentions on social networks and blogs.
-
go-simple-mail
Golang package for send email. Support keep alive connection, TLS and SSL. Easy for bulk SMTP. -
Mailchain
Using Mailchain, blockchain users can now send and receive rich-media HTML messages with attachments via a blockchain address. -
truemail-go
🚀 Configurable Golang 📨 email validator/verifier. Verify email via Regex, DNS, SMTP and even more. Be sure that email address valid and exists. -
go-mail
:incoming_envelope: Simple email interface across multiple service providers (ses, postmark, mandrill, smtp)
InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
Promo
www.influxdata.com

Do you think we are missing an alternative of directEmail or a related project?
README
directEmail
Deprecate: later use https://github.com/Supme/smtpSender
Example
package main
import (
"github.com/supme/directEmail"
"time"
"fmt"
)
func main() {
email := directEmail.New()
// if use socks5 proxy
email.Ip = "socks://123.124.125.126:8080"
// or with auth
email.Ip = "socks://user:[email protected]:8080"
// if use specified interface
email.Ip = "192.168.0.10"
// if use NAT
email.MapIp = map[string]string {
"192.168.0.10": "31.33.34.35",
}
// if left blank, then auto resolved (for socks use IP for connecting server)
email.Host = "resolv.name.myhost.com"
email.FromEmail = "[email protected]"
email.FromName = "Sender name"
email.ToEmail = "[email protected]"
email.ToName = "Reciver name"
// add extra headers if need
email.Header(fmt.Sprintf("Message-ID: <test_message_%d>", time.Now().Unix()))
email.Header("Content-Language: ru")
email.Subject = "Тест отправки email"
// plain text version
email.TextPlain(`Текст моего TEXT сообщения`)
// html version
email.TextHtml(`
<h2>My email</h2>
<p>Текст моего HTML сообщения</p>
`)
// or html version with related files
email.TextHtmlWithRelated(`
<h2>My email</h2>
<p>Текст моего HTML with related files сообщения</p>
<p>Картинка: <img src="cid:myImage.jpg" width="500px" height="250px" border="1px" alt="My image"/></p>
`,
"/path/to/attach/myImage.jpg",
)
// attach file if need
email.Attachment("/path/to/attach/file.jpg")
// Render email message
email.Render()
// if dkimSelector not blank, then add DKIM signature to message
email.RenderWithDkim("myDKIMselector", []byte("DKIMprivateKey"))
print("\n", string(email.GetRawMessageString()), "\n\n\n")
err := email.Send()
if err != nil {
print("Send email with error:", err.Error())
}
// or send from SMTP server use login and password
err := email.SendThroughServer("smtp.server.tld", 587, "username", "password")
if err != nil {
print("Send email with error:\n", err.Error(), "\n")
}
}