I have the clarissa.plebtest.it domain on Mailgun and it is Active, the TXT and CNAME records verified the, MX records not verified......when I run this locally (Windows 7, php 5.5.12, apache2.4.9) :
`
require 'vendor/autoload.php';
use Mailgun\Mailgun;
$mgClient = new Mailgun('MY-PRIVATE-KEY');
$domain = "clarissa.plebtest.it";
Mailgun\Connection\Exceptions\MissingEndpoint: The endpoint you've tried to access does not exist. Check if the domain matches the domain you have configure on Mailgun. Domain not found: clarissa.plebtest.it in C:\wamp\www\plebtest\tutorial\mailinglist\vendor\mailgun\mailgun-php\src\Mailgun\Connection\RestClient.php on line 260
I have the clarissa.plebtest.it domain on Mailgun and it is Active, the TXT and CNAME records verified the, MX records not verified......when I run this locally (Windows 7, php 5.5.12, apache2.4.9) :
` require 'vendor/autoload.php'; use Mailgun\Mailgun;
$mgClient = new Mailgun('MY-PRIVATE-KEY'); $domain = "clarissa.plebtest.it";
$result = $mgClient->sendMessage("$domain", array('from' => 'cleto@plebtest.it', 'to' => 'umbbberto@virgilio.it', 'subject' => 'Hello', 'text' => 'Testing some Mailgun awesomeness!')); `
I get the fatal error:
Mailgun\Connection\Exceptions\MissingEndpoint: The endpoint you've tried to access does not exist. Check if the domain matches the domain you have configure on Mailgun. Domain not found: clarissa.plebtest.it in C:\wamp\www\plebtest\tutorial\mailinglist\vendor\mailgun\mailgun-php\src\Mailgun\Connection\RestClient.php on line 260
any suggestions? thanks