diff --git a/core/server/services/bulk-email/mailgun.js b/core/server/services/bulk-email/mailgun.js index c5817c580e..710487b2d1 100644 --- a/core/server/services/bulk-email/mailgun.js +++ b/core/server/services/bulk-email/mailgun.js @@ -11,7 +11,7 @@ function createMailgun(config) { apiKey: config.apiKey, domain: config.domain, protocol: baseUrl.protocol, - host: baseUrl.host, + host: baseUrl.hostname, port: baseUrl.port, endpoint: baseUrl.pathname, retry: 5