With the current Mailgun implementation, you cannot send from their EU servers (only the US).
On line 51 of MailgunService.php, you need to pass 'https://api.eu.mailgun.net' as the second parameter for it to send via the EU servers. Ideally this is something you can configure in the Amelia settings as part of the Mailgun pane.
I've hacked the solution into my install for now but would prefer this to be officially supported!
Apologies for replying a bit later, we don't work on weekends.
I will forward this to the developers and our management so they can check it out and see if it can be added in the future updates of Amelia. Thank you.
If you have any other questions or concerns feel free to open a new ticket and we will gladly help.
I need this to be fixed ASAP as well. I don't receive any notifications when new bookings are made - neither do my clients!
I have to use the EU-server. I can fix it manually until you fix it but I can't fint the MailgunService.php file anywhere in your plugin. Where do I find it?
Thank you for letting us know that you managed to find a way to solve this issue for now. It is forwarded to our developers and it will be implemented in the plugin as well.
I have lost many orders because you haven't fix this major problem yet! Either me or my clients gets any notification because I use (in order to be GDPR complient) the Mailgun EU server and NOT the US server. I fixed the problem manually with the fix mentioned in this thread but now you have updated the MailgunService.php (but not fixed the EU-server issue), so now I don't know where to place the 'https://api.eu.mailgun.net'.
So, could you please tell me how to fix it NOW and update Amalie so I don't have to fix it manualle every time you make a new version? If you can't do that I will need to get a full refund!
We haven't added an option for this to the back-end of Amelia, so you just need to add the Mailgun endpoint directly to the database. Access your database, the wp_options table (it can have another prefix rather than wp_ depending on the database) and find the amelia_settings option in it. Edit that option and add the endpoint to "notifications" -> "mailgunEndpoint". Please look at the attachment.
Thank you. Now it works again! Did you send information about this trick to me when you fixed it in the last update, or how should I suppose to know this?
And when do you add it as an option in the back-end?
You are welcome, Torben. Glad to see that, thank you for letting us know. No, we haven't send this change sorry about that. We will add this as an option to Amelia settings back-end in one of the future updates of Amelia.
If you have any other questions or concerns feel free to open a new ticket and we will gladly help out.
With the current Mailgun implementation, you cannot send from their EU servers (only the US).
On line 51 of MailgunService.php, you need to pass 'https://api.eu.mailgun.net' as the second parameter for it to send via the EU servers. Ideally this is something you can configure in the Amelia settings as part of the Mailgun pane.
I've hacked the solution into my install for now but would prefer this to be officially supported!
Hello Greg Hinch,
Apologies for replying a bit later, we don't work on weekends.
I will forward this to the developers and our management so they can check it out and see if it can be added in the future updates of Amelia. Thank you.
If you have any other questions or concerns feel free to open a new ticket and we will gladly help.
I need this to be fixed ASAP as well. I don't receive any notifications when new bookings are made - neither do my clients!
I have to use the EU-server. I can fix it manually until you fix it but I can't fint the MailgunService.php file anywhere in your plugin. Where do I find it?
Thanks
I found the file and made the fix and now it works :-) But you better implement it in the plugin as well!
Hello Torben,
Thank you for letting us know that you managed to find a way to solve this issue for now. It is forwarded to our developers and it will be implemented in the plugin as well.
You really HAVE TO fix this problem ASAP!!!!
I have lost many orders because you haven't fix this major problem yet! Either me or my clients gets any notification because I use (in order to be GDPR complient) the Mailgun EU server and NOT the US server. I fixed the problem manually with the fix mentioned in this thread but now you have updated the MailgunService.php (but not fixed the EU-server issue), so now I don't know where to place the 'https://api.eu.mailgun.net'.
So, could you please tell me how to fix it NOW and update Amalie so I don't have to fix it manualle every time you make a new version? If you can't do that I will need to get a full refund!
/Torben
Hello Torben,
We fixed this in the last update of Amelia.
We haven't added an option for this to the back-end of Amelia, so you just need to add the Mailgun endpoint directly to the database. Access your database, the wp_options table (it can have another prefix rather than wp_ depending on the database) and find the amelia_settings option in it. Edit that option and add the endpoint to "notifications" -> "mailgunEndpoint". Please look at the attachment.
Hi
Thank you. Now it works again! Did you send information about this trick to me when you fixed it in the last update, or how should I suppose to know this?
And when do you add it as an option in the back-end?
/Torben
You are welcome, Torben. Glad to see that, thank you for letting us know. No, we haven't send this change sorry about that. We will add this as an option to Amelia settings back-end in one of the future updates of Amelia.
If you have any other questions or concerns feel free to open a new ticket and we will gladly help out.