PHP code example of openbuildings / html-email
1. Go to this page and download the library: Download openbuildings/html-email 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/ */
openbuildings / html-email example snippets
php
Email::factory("Welcome to Emailandia!")
// Skip the layout
->layout(FALSE)
->plain('emails/plain-text-email-view', array('foo' => $bar))
->html('emails/html-email-view', array('foo' => $bar))
->send('[email protected]');