--------------------------------------------------------------------------------
I've done some searches but can't find anything appropriate. Posted this in Core Modules Forum and had no response. Decided it should maybe have been in here?
I'd like to send HTML email from the Core Mail Users administrators module. I'm using the htmlEditBox add on which is a great HTML content editor addon for PostNuke, but the emails are sent as plain text.
Has anyone already done this?
Is it a case of changing the code in the /modules/NS-MailUsers/admin.php where the pnMail callis made and adding to the Headers and adding and tags to the message?
Add to the Headers something like:
"MIME-Version: 1.0\r\n". "Content-type: text/html; charset=iso-8859-1\r\n"
And to the start of the Message something like:
"\r\n\r\n\r\n\r\n\r\n"
And to the end of the Message something like:
"\r\n\r\n"
Might this work - or am I missing something obvious? (or not so obvious!)
Thanks Gavin
Login
Donate to Zikula
Installation, Configuration, & Upgrades
::
Sending HTML email in Mail Users module
-
-
There was a module announcement recently I belive for jdn Mailer, You may want to look at it, I think it will provide the functionality you wish. The downside is the english lang files are incomplete, and I'm not 100% sure what they should be in some cases.
-
Thanks for that - I was a bit suprised that there wasn't more demand for sending HTML email?
I've actually tried my own suggestion and posted a response here
http://forums.postnu…topic&p=90682#90682
It has been suprisingly successful (I was suprised anyway!)
Am I getting into deep water with this? Are there any security issues for example?
Thanks Gavin -
Shouldn't be, but I'm no security guru
--
Regards,
Simon
itbegins.co.uk - Zikula Consulting
Please read the Support Guide
