PHP code example of youshido / mail
1. Go to this page and download the library: Download youshido/mail 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/ */
youshido / mail example snippets
php
$mailer = $this->container->get('youshido.mailer');
$mailer->sendEmailWithId('registration_success', '[email protected]', ['name' => 'Alex']);
$mailer->sendEmailWithId('personal_reminder', '[email protected]', ['name' => 'Alex']);