stevenolen / mailgun-smtp-server

SMTP -> me -> mailgun http api
Other
6 stars 9 forks source link

Doesn't work for EU based mailgun domains #5

Open DerBroader71 opened 4 years ago

DerBroader71 commented 4 years ago

When trying to send email via an EU mailgun domain, the system consistently responds with a '451 Requested action aborted: local error in processing' which is due to a 404 appearing in the logs. According to the Mailgun documentation: NOTE: If you’re sending from our EU infrastructure, be sure to substitute our EU endpoint in the above example: https://api.eu.mailgun.net/v3 and here https://github.com/mailgun/mailgun-ruby there needs to be a change to the value passed to change the URL being used.

Can this be added as an environment option so that it supports the EU servers? Thanks

paskal commented 4 years ago

@stevenolen would you be so kind as to help with this issue?