Registry / http-client / mailgun-mailgun-go

mailgun-mailgun-go

JSON →
library2.0.0+incompatiblegogounverified

Package mailgun provides methods for interacting with the Mailgun API.

go get github.com/mailgun/mailgun-go
INSTALL
IMPORT
SIG · MAILGUN-MAILGUN-GO
M
mailgun-mailgun-go
http-clientgov2.0.0+incompatible
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

mailgun
github.com/mailgun/mailgun-go

Sends an email using the Mailgun API.

package main import ( "context" "fmt" "github.com/mailgun/mailgun-go" ) func main() { mg := mailgun.NewMailgun("your-domain.com", "your-api-key") msg := mg.NewMessage("sender@example.com", "Hello", "Body", "recipient@example.com") _, id, _ := mg.Send(context.Background(), msg) fmt.Printf("Sent mail with id: %s\n", id) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
2.0.0+incompatiblelatest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
16 hits · last 30 days
node
14
OpenAI (training)
1
Resources
mailgun-mailgun-go — go get mailgun-mailgun-go · libregistry