Example #1
0
<?php

$oSendMail = new mySendMail();
$oSendMail->loadTemplate('emails/mytemplate', array('myvar' => $aEvent['post']['myvar'], 'another' => $sSomeString));
$oSendMail->addAddress('*****@*****.**');
$oSendMail->send();
Example #2
0
<?php

$oSendMail = new mySendMail();
$oSendMail->Subject = 'This is the subject';
$oSendMail->Body = 'Wonderful email from the Web:Extend team!';
$oSendMail->addAddress('*****@*****.**');
$oSendMail->send();