Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Send emails with HTML as HTML Details »
Send emails with HTML as HTML
Mod Version: 1.00, by bchertov (Coder) bchertov is offline
Developer Last Online: Apr 2020 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.7.2 Rating: (7 votes - 5.00 average) Installs: 76
Released: 14 Jul 2008 Last Update: 14 Jul 2008 Downloads: 369
Not Supported Uses Plugins Re-usable Code Translations  

UPDATE: I have tested this on 4.0 Gold and it works! I have released it here:
http://www.vbulletin.org/forum/showthread.php?t=231532


Hi Folks,

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!

Download Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Mini Mods Send emails with HTML as HTML bchertov vBulletin 3.6 Add-ons 82 24 Feb 2012 12:22

Comments
  #2  
Old 15 Jul 2008, 10:15
goranbaxy goranbaxy is offline
 
Join Date: Jan 2008
will users have to send PM as HTML?
__________________
Portal - Dojaja | Forum | Igre | Horoskop
Reply With Quote
  #3  
Old 16 Jul 2008, 07:00
bchertov's Avatar
bchertov bchertov is offline
 
Join Date: Dec 2004
Location: Sonoma County, CA
Real name: Barry
Originally Posted by goranbaxy View Post
will users have to send PM as HTML?
This hack only affects emails, no PMs.
Reply With Quote
  #4  
Old 16 Jul 2008, 12:23
meraia meraia is offline
 
Join Date: Aug 2007
Thankyou
Reply With Quote
  #5  
Old 18 Jul 2008, 16:50
ShackMaster ShackMaster is offline
 
Join Date: Apr 2006
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.
Reply With Quote
  #6  
Old 18 Jul 2008, 19:53
Allan's Avatar
Allan Allan is offline
 
Join Date: Jun 2003
Real name: allan
Than you for this hack
__________________
-------------------------------------------------------------------------------------------
Administrator vBulletin-Ressources.com, French vBulletin Resources.
Reply With Quote
  #7  
Old 18 Jul 2008, 21:31
noppid noppid is offline
 
Join Date: Mar 2003
Originally Posted by ShackMaster View Post
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.
__________________
Add a photo gallery garage to your auto forum and get noticed by your members. Find out how at the vBulletin Computer Help Forum.
An informed rider makes their first destination the motorcycle forum at rider info.
Reply With Quote
  #8  
Old 19 Jul 2008, 00:40
ShackMaster ShackMaster is offline
 
Join Date: Apr 2006
Yeah... I did. I suppose "if the body of an email contains any HTML." is a dead giveaway.

Installed!
Reply With Quote
  #9  
Old 19 Dec 2008, 17:44
ch_racer ch_racer is offline
 
Join Date: Jun 2008
Awesome! Thanks man.

*ch_racer markes as installed*
Reply With Quote
  #10  
Old 19 Dec 2008, 18:53
newmasalaboard's Avatar
newmasalaboard newmasalaboard is offline
 
Join Date: Apr 2008
Real name: Satyadeo Thakur
Thanks for the HACK!

Installed
Reply With Quote
  #11  
Old 21 Jan 2009, 16:32
theparentpack theparentpack is offline
 
Join Date: Dec 2007
Nice Hack! Is there any way to disable member use of this and restrict it's use to only admin?
Reply With Quote
  #12  
Old 22 Jan 2009, 06:14
bchertov's Avatar
bchertov bchertov is offline
 
Join Date: Dec 2004
Location: Sonoma County, CA
Real name: Barry
Originally Posted by theparentpack View Post
Nice Hack! Is there any way to disable member use of this and restrict it's use to only admin?
Probably, but it's not something I'm going to do at this point. Sorry.
Reply With Quote
  #13  
Old 23 Feb 2009, 23:41
unicorn2433 unicorn2433 is offline
 
Join Date: Mar 2008
How do I get the pics to show in the emails?
I created the a html page in frontpage and tried to copy the html code into email part and it sent with out pics.
__________________
Chatter Scene
Reply With Quote
  #14  
Old 24 Feb 2009, 07:46
bchertov's Avatar
bchertov bchertov is offline
 
Join Date: Dec 2004
Location: Sonoma County, CA
Real name: Barry
Originally Posted by unicorn2433 View Post
How do I get the pics to show in the emails?
I created the a html page in frontpage and tried to copy the html code into email part and it sent with out pics.
If your HTML uses <IMG> tags with href links to URLs that contains the image it seems like it should work. Take a look at your HTML to see how the images are displayed.
Reply With Quote
  #15  
Old 05 Apr 2009, 00:27
kevcj's Avatar
kevcj kevcj is offline
 
Join Date: Mar 2007
Real name: Kevin
Does this work with vb 3.8X??
__________________
political forum
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 05:57.

Layout Options | Width: Wide Color: