Here's a nice little pluggin (No Code changes!) my programmer (Bryan Harris) came up with that sets the email type as HTML if the body of an email contains any HTML.
This is just a copy of the original 3.6 mod (144 installs!) - it works fine under 3.7 too!
This is very powerful and flexible, but also a bit dangerous. This means that any email your system sends out that contains any HTML will be sent as HTML. Which means that the whole email should be formatted as HTML.
So for instance, it makes it very easy to send HTML emails from the ACP - Just include HTML in your message! Same goes for users sending private email.
You'll also need to update some of the stock phrases for the registration confirmation email, password change, etc, that contain links or other HTML, and add line breaks <br /> so they still format correctly. And while you're in there you could add your logo and other nice touches!
It's just one pluggin!
Install time: a few seconds!
This is my first published mod so go easy on me. I'm not up for a bunch of support, but it doesn't seem like much should be needed.
And I'd appreciate it if you clicked Install if you use it, and while your at it, nominate it for MOTM!
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
This would be good if you had more control over what email forms were being sent via HTML. On standard email forms like the email sent from member to member... or the Contact Us email form... those should have an option to turn off HTML unless this treats those like a standard email client. Most users are not going to know HTML and that they have to insert a <br /> for a line break... or a pair of <br /><br /> for space between two paragraphs (or <p></p>) etc., etc.
I like this for welcome emails and notification emails. I already have the hack for sending admincp email to users and that has a toggle switch to turn it on and off.
This would be good if you had more control over what email forms were being sent via HTML. On standard email forms like the email sent from member to member... or the Contact Us email form... those should have an option to turn off HTML unless this treats those like a standard email client. Most users are not going to know HTML and that they have to insert a <br /> for a line break... or a pair of <br /><br /> for space between two paragraphs (or <p></p>) etc., etc.
I like this for welcome emails and notification emails. I already have the hack for sending admincp email to users and that has a toggle switch to turn it on and off.
If they don't put <br /> or any html tag for that matter, the email goes out as text. I think you might have misunderstood the description.