Open
Description
I used to get messages like this:
/** \Mailgun\Model\Event\Event $event **/
$mailgun = \Mailgun\Mailgun::create('key-foobar');
foreach ($mailgun->events()->get($domain)->getItems() as $event) {
$url = $event->getStorage()['url'];
$message = $this->mailgun->messages()->show($url);
}
But I switched to a EU server:
$endpoint = 'https://api.eu.mailgun.net';
$mailgun = \Mailgun\Mailgun::create('key-foobar', $endpoint);
Now I get another url ("https://storage-europe-west1.api.mailgun.net/v3/domains/....") but it says "Message not found".
Is this a bug, or am I doing something wrong?
Metadata
Metadata
Assignees
Labels
No labels
Activity