Registry / http-client / mailgun-mailgun-go-v3

mailgun-mailgun-go-v3

JSON →
library3.6.4gogounverified

Package mailgun provides methods for interacting with the Mailgun API.

go get github.com/mailgun/mailgun-go/v3
INSTALL
IMPORT
SIG · MAILGUN-MAILGUN-GO
M
mailgun-mailgun-go-v3
http-clientgov3.6.4
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/v3

Sends an email using the Mailgun API.

package main import ( "context" "fmt" "github.com/mailgun/mailgun-go/v3" ) 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.Println("Message ID:", id) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
3.6.4latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
11 hits · last 30 days
node
10
Resources
mailgun-mailgun-go-v3 — go get mailgun-mailgun-go-v3 · libregistry