mirror of
https://github.com/retailcrm/mailgun-php.git
synced 2024-11-23 04:56:02 +03:00
11 lines
344 B
PHP
11 lines
344 B
PHP
|
<?
|
||
|
//require 'vendor/autoload.php';
|
||
|
|
||
|
require_once('file.php');
|
||
|
|
||
|
use Mailgun\Client;
|
||
|
|
||
|
$client = new Client($api_key="key-6e4jujnt879vqn2gx702wov0kg2hl1a6", $domain="trstx.com");
|
||
|
echo $client->sendSimpleMessage(array('from'=>'test@trstx.com', 'to'=>'travis.swientek@rackspace.com', 'subject' => 'test', 'text' => 'asdf', 'o:testmode'=>true));
|
||
|
|
||
|
?>
|