Email HTML won't display - Joomla! Forum - community, help and support
hello,
i trying send email php, html parsed default text. function mailing is
using default php mail() function doesn't work either because can't figure out way change mail.add_x_header yes.
is there anyway fix these email problems?
i trying send email php, html parsed default text. function mailing is
code: select all
function send_mail($recipient, $subject, $body) {
$mailer = jfactory::getmailer();
$config = jfactory::getconfig();
$sender = array($config->get('mailfrom'), $config->get('fromname'));
$mailer->setsender($sender);
$mailer->addrecipient($recipient);
$mailer->ishtml(true);
$mailer->encoding = 'base64';
$mailer->setsubject($subject);
$mailer->setbody($body);
return $mailer->send();
}
using default php mail() function doesn't work either because can't figure out way change mail.add_x_header yes.
is there anyway fix these email problems?
are using specific extension this? making one?
leo
leo

Comments
Post a Comment