![]() |
Send emails with HTML as HTML
UPDATE: I have tested this on 4.0 Gold and it works! I have released it here:
http://ww.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 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! |
Reserved.
|
tks for share.
all the best beduino |
Very nice and useful. Makes emails much less of a chore!
|
I am looking for this a lot of years :p Thank you very much.
|
Can you include the HTML Message Editor?
|
Thanks for this! :)
|
Quote:
|
Quote:
|
Quote:
Quote:
|
Yes that would be a great idea, of course! :)
|
No one asked, so Im curious, is it possible to send html thru the public email contact form (sendmessage.php)? if so, I'd be very worried.
If its an admin only function that works only thru the CP, then I'll gladly install. Thanks |
Quote:
|
Thanks! Exactly what I was looking for. *installed*
:) |
So far.... Loving this plugin!!! Flawless....
|
Quote:
Quote:
|
how can i use google adsense code?
for example; Code:
<script type="text/javascript"><!-- |
Quote:
|
hımmm
i dont know not working adsense kode in mail sorry bchertov |
bchertov there should be options if all users or only admin can use it.
Also in what emails html should be used - I dont like to edit all email phrases and add <br /> because of that. This is not a bad plugin, but there need to be improvement. regards |
Thnxxx... I was lookin for something like this !!!
|
Quote:
I don't want to mess things up. I was looking for this for a good while, with this info I'll install. Thanks, T |
[QUOTE=T_Richardson;1188037]Before I install, where do I edit the stock phrases and put in the <br /> code?/QUOTE]Goto your Admin control panel and pop-down the Language and Phrases section on the left and then choose Search in Phrase. Note that you can search by the phrase content or by the phrase name. You may want to consult the vb manual for a little background on phrases. You want to look for any emails that your system sends out, such as your "welcomemail".
Pay particular attention to the phrases that are of phrase type "email body text". |
[QUOTE=bchertov;1188355]
Quote:
This is what is in my "welcomemail" PHP Code:
|
Quote:
|
i love such elegant solutions, to think i was about to hard-hack about 5 different files! Thanks
|
excellent, I was just looking for somethings like this. To get around members sending html email I simply disable right after I send out my emails through the acp, though an option to only allow html emails to be sent from the acp would be great
|
I not really sure exactly how this work, but I give it a try. *Installed*
|
Quote:
|
bchertov :) thanks a lot for this hack. i was looking for some hack so i can email my users with html :) i m really happy. thanks a lot.
|
Quote:
|
..or can I dress up the Welcome Message using html..??
|
@bchertov
Would the receiver of the e-mail see the e-mail in HTML if they had their e-mail setting to read in plain text only? I use to e-mail my members in HTML, but some of them complained because they just saw the HTML code as they where reading the mail in plain text. Thanks, Patrick |
Quote:
Quote:
Quote:
|
Quote:
Thanks, Patrick |
SaWeeeeeeeeT!! Installed!
Thanks ;) |
Thank you for this hack :D
:installed: |
i was useing psionic html hack emmm but i dont know why the post was been deleted
anyway this hack is working great and thanks 100000000000000 times |
I installed it and i sent an email to myself for testing.
I wrote for example <body bgcolor="CCCCCC">My email here</body> but no change is happening. Am i doing something wrong?Also when i put an image happening the same. |
Quote:
|
All times are GMT. The time now is 10:32 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|