Email HTML won't display - Joomla! Forum - community, help and support


hello,

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 8)





Comments

Popular posts from this blog

Joomal 3.6.3 update error - PHP temporary folder is not set - Joomla! Forum - community, help and support

Upgrade 3.4.8 to 3.5.1 failed "download package failed" - Joomla! Forum - community, help and support

Fatal error during instalation - Joomla! Forum - community, help and support