PHP code example of unjudder / mail

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

    

unjudder / mail example snippets


$serviceLocator->get('Uj\Mail\Email')
	->send('module/nameOfEmailTpl', array(
		'to' => '[email protected]',
		'from' => '[email protected]',
		'subject' => 'What ever - Our Customer Services',
		// ... additional parameters to pass to view renderer
	));

"	"unjudder/mail": "1.0-alpha2"
}

'modules' => array(
	'Uj\Mail'
)

$config['uj']['mail'];