PHP code example of aztech / coyote
1. Go to this page and download the library: Download aztech/coyote library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
aztech / coyote example snippets
use \Aztech\Coyote\Email\Address;
use \Aztech\Coyote\Email\Message;
use \Aztech\Coyote\Email\Provider\MailgunFactory;
'mydomain.com'
]);
$message = new \Aztech\Coyote\Email\Message();
$message->addRecipient(new Address('[email protected]');
$message->setTitle('News');
$message->setBody('Hello, how are you ?');
$provider->send($message);