PHP code example of kinetis / mailer
1. Go to this page and download the library: Download kinetis/mailer 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/ */
kinetis / mailer example snippets
use Kinetis\Mailer\MailerFactory;
use Symfony\Component\Mime\Email;
$mailer = MailerFactory::fromConfig($config);
$email = (new Email())
->from('[email protected]')
->to('[email protected]')
->subject('Welcome!')
->text('Thanks for signing up.');
$mailer->send($email);