Community Add-Ons
| Maintainers: | spooks |
Send Admin HTML e-mails
for osCommerce Online Merchant v2.2
Send Admin HTML e-mails
Unfortunatly the admin e-mail utility wont send HTML mails by default.
I searched but could not find a solution for this that worked, so this is my attempt.
This firstly relies on you setting the "Use MIME HTML When Sending Emails" to "True" in Configuration E-Mail Options.
I also advise adding the SPAW HTML editor option, as putting html on the plain text editor is a pain.
This also alters the input fields to a better size, ensures message field is populated on a "back" action & fixes the no recipient selected bug.
It also adds a default message, edit this to your needs.
Send Admin HTML e-mails 1.5
For V2.2 rc1
This firstly relies on you setting the "Use MIME HTML When Sending Emails" to "True" in Configuration E-Mail Options.
I also advise adding the FCK HTML editor option, as putting html on the plain text editor is a pain.
This also alters the input fields to a better size, ensures message field is populated on a "back" action & fixes the no recipient selected bug.
It also adds a default message, edit this to your needs.
There is a problem with some editors, including FCK, where they wont include the base href making pictures sent have invalid links, I have added code to this to add the base href
to all instances of src= to get around the problem. If this is not a problem for you, dont do **pics mod 1**.
I also found a problem of extra line feeds as the functions assumed the html <br> new line function was text, if this occurs change the false to true where instructed.
Full Package
