GENWiki

Premier IT Outsourcing and Support Services within the UK

User Tools

Site Tools


joomla:send_an_email_via_jooma_framework
function sendEMAIL($from, $to, $subject, $body, $ashtml=false) {
 
    $mailer = JFactory::getMailer();
    $mailer->setSender($from);
    $mailer->addRecipient($to);
    $mailer->setSubject($subject);
    $mailer->setBody($body);
 
    if($ashtml) { $mailer->isHTML(); }
    $mailer->send();
}
/data/webs/external/dokuwiki/data/pages/joomla/send_an_email_via_jooma_framework.txt · Last modified: 2019/05/20 10:00 by genadmin

Was this page helpful?-12+1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki