1. Go to this page and download the library: Download zfr/zfr-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/ */
zfr / zfr-mail example snippets
$mail = (new RenderedMail())->withFrom('[email protected]')
->withTo('[email protected]')
->withSubject('Hello')
->withTextBody('This is a mail')
->withHtmlBody('<p>This is a mail</p>');