PHP code example of phalcana / email

1. Go to this page and download the library: Download phalcana/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/ */

    

phalcana / email example snippets


'modules' => array(
  'email' => MODPATH.'email/',
  'userguide' => MODPATH.'userguide/',
),

$email = $this->getDi()->get('email', array('My email subject'))
  ->to('[email protected]', 'My name')
  ->from('[email protected]', 'Website name')
  ->message('Message text here')
  ->send();