Skip to content

Commit 4b89733

Browse files
committed
refactor(mailer): set mailgun region to EU
1 parent cdf8d70 commit 4b89733

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

internal/mailer/mailgun.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ type Mailgun struct {
1616

1717
func NewMailgun(from, domain, apiKey string) *Mailgun {
1818
mg := mailgun.NewMailgun(domain, apiKey)
19+
mg.SetAPIBase(mailgun.APIBaseEU)
1920
return &Mailgun{
2021
from: from,
2122
mg: mg,

0 commit comments

Comments
 (0)