go-mail:GoLang的跨平台邮件驱动程序

时间:2021-04-08 23:09:39
【文件属性】:
文件名称:go-mail:GoLang的跨平台邮件驱动程序
文件大小:322KB
文件格式:ZIP
更新时间:2021-04-08 23:09:39
golang mail mailgun sendgrid sparkpost 去邮件 GoLang的跨平台邮件驱动程序。 介绍 Go Mail旨在将多个流行的邮件API(SparkPost,MailGun和SendGrid)统一为一个简单易用的界面。 电子邮件发送非常简单,非常适合允许开发人员选择他们使用的平台。 cfg := mail. Config { URL : "https://api.eu.sparkpost.com" , APIKey : "my-key" , FromAddress : "hello@gophers.com" , FromName : "Gopher" , } driver , err := mail . NewClient ( mail . SparkPost , cfg ) if err != nil { fmt . Println ( err ) r
【文件预览】:
go-mail-main
----.gitignore(352B)
----go.mod(321B)
----Makefile(417B)
----attachments_test.go(1KB)
----config_test.go(1KB)
----.travis.yml(514B)
----CONTRIBUTING.md(2KB)
----mail_test.go(3KB)
----LICENSE(11KB)
----mailgun_test.go(2KB)
----sendgrid_test.go(3KB)
----go.sum(7KB)
----mailgun.go(2KB)
----testdata()
--------gopher.svg(7KB)
--------gopher.jpg(158KB)
--------gopher.png(160KB)
----logo.svg(67KB)
----examples()
--------.keep(0B)
--------mailgun.go(1KB)
--------sparkpost.go(1KB)
--------sendgrid.go(1KB)
--------attachments.go(1KB)
----sparkpost.go(3KB)
----README.md(5KB)
----tests()
--------mail_test.go(2KB)
--------mailgun_test.go(1KB)
--------sendgrid_test.go(1KB)
--------sparkpost_test.go(1KB)
----sparkpost_test.go(4KB)
----transmissions.go(1KB)
----.golangci.yml(4KB)
----sendgrid.go(3KB)
----attachments.go(1KB)
----transmissions_test.go(1KB)
----config.go(1KB)
----mail.go(2KB)

网友评论