PHP code example of fawno / fawnoemail
1. Go to this page and download the library: Download fawno/fawnoemail 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/ */
fawno / fawnoemail example snippets
use Fawno\Mailer\FawnoEmail;
$email = new FawnoEmail();
$email->to(array('[email protected]' => 'Example'));
$email->subject('Example Email');
$email->template('default');
$email->send();
<img src="cid:/full/path/image">
<img src="cid:///full/path/image">
<img src="file:/full/path/image">
<img src="file:///full/path/image">
echo $this->Html->image('cid:///full/path/image');
echo $this->Html->image('file:///full/path/image');