This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class SendEMail | |
{ | |
static $transport = false; | |
public // path to template directories | |
$templatesPath, | |
// template directory name | |
$templateDirname, | |
// template file name |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
require_once '/path_to_swift/lib/swift_required.php'; | |
require_once 'SendEMail.php'; | |
$sm = new SendEMail(); | |
$recipients[0] = array( | |
'email' => 'onotole@blabla.com', | |
'user' => 'Onotole', | |
'something' => 'myalka', |