1
im using XOOPS 2.0.16 and module contact_plus. I need it to send a html mail, not just text/plain. So I added line addHeaders with content-type i need, but this leads to the same text/plain results.. besides, when i check mail properties it is said, that there is double content type assigning:
X-Mailer: PHPMailer [version 1.73]
Content-Type: text/html; charset=windows-1257
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Content-Type: text/plain; charset="windows-1257"
contact_plus code section:
$xoopsMailer =& getMailer();
$xoopsMailer->useMail();
$xoopsMailer->setToEmails($xoopsConfig['adminmail']);
$xoopsMailer->setFromEmail($usersEmail);
$xoopsMailer->setFromName($xoopsConfig['sitename']);
$xoopsMailer->setSubject($subject);
$xoopsMailer->setBody($adminMessage);
$xoopsMailer->addHeaders("Content-Type: text/html; charset=windows-1257");
$xoopsMailer->send();
Could someone please clear this for me, i hate text/plain emails...
where's my red bull!