PDA

View Full Version : Mini Mods - Admin HTML Email: Sent as multipart/alternative


calorie
07-05-2007, 10:00 PM
Admin HTML Email: Sent as multipart/alternative so email clients decide whether to display HTML or plain text. This mod was not extensively tested, but it should work on vB 3.6.4 and greater, maybe earlier versions as well, but you'll need to check. Something like this was requested here (https://vborg.vbsupport.ru/showthread.php?t=151485).

This is different than what is currently available, as both text/html and text/plain parts are sent, and the email client decides what to display, i.e., non-HTML clients should show plain text whereas HTML-enabled clients should show the markup text. Again, "should" as this mod wasn't extensively tested. Call it a beta version.

Most vbmail emails sent from the the webmasteremail address are affected, except where $vbulletin->GPC['email'] or $vbulletin->userinfo['email'] are used as the from address. If there is no from address, the default is the webmasteremail address. There are no ACP options; once installed, it is on.

Not much else to say, so test it out if interested, and of course disable any similar mod beforehand.

tokenyank
07-06-2007, 09:49 AM
first post, that's never happened to me before! ;)

Thanks for this, I'm gonna give it a few tests, perhaps I'll not have to edit core files anymore!

Luky
07-06-2007, 02:07 PM
Please, for crying out loud. Never send emails in HTML! They never come out right in large email providers, like GMail! They always look ugly. If you wish to use html to send a news letter, host a page and mass email a link to it or something.

Your mod is nice but. *awaits the flamming*

webmaster74
08-11-2007, 04:31 PM
Please, for crying out loud. Never send emails in HTML! They never come out right in large email providers, like GMail! They always look ugly. If you wish to use html to send a news letter, host a page and mass email a link to it or something.

Your mod is nice but. *awaits the flamming*

it depends on what is in your html code in the email......

Luky
08-11-2007, 07:32 PM
it depends on what is in your html code in the email......
Simple paragraph html emails are fine, but people have been trying to send emails that are bassically a whole website, banner, navigation, ajax etc. Complete stupidity, email is simple, it wasnt coded for all of that html crap, so it comes out looks really terrible!

webmaster74
08-11-2007, 08:52 PM
Simple paragraph html emails are fine, but people have been trying to send emails that are bassically a whole website, banner, navigation, ajax etc. Complete stupidity, email is simple, it wasnt coded for all of that html crap, so it comes out looks really terrible!


exactly what I meant.

I rarely send text emails to my users. I always use html. and it comes out really nice in gmail....

no secrets, just use very simple tables and colors in cells.... and it goes through

Regs
08-15-2007, 02:16 AM
Hi,

This mod looks extremely useful to me, something I have been thinking about for awhile - excellent job!

Quick question though: would their be a way to limit this strictly to thread/forum subscription emails?

Cheers,

~Regs.

webmaster74
08-17-2007, 09:06 PM
Hi.

Is this mod still in Beta?

works with 3.6.8 ?

does it enable html in email notices about new replies too or just in admin-sent emails?

Tom_S
10-15-2007, 03:29 AM
calorie did you ever tweak on this mod anymore? It works great but I have to install it when I want to use it then uninstall when I am done. Not a biggie. Just wondering.

ludachris
11-11-2007, 07:19 PM
So is this supposed to work with the "Email Users" form in admincp? Or how does it work exactly?

Jason Black
11-18-2007, 01:13 PM
yeah how exactly does it work please?

Elenna
11-19-2007, 12:49 PM
This mod works from the Email Users link to AdminCP. If you add in proper HTML tags to your email (i.e. body, etc) it will send it in HTML format as well as plain text format.

Coop1979
12-02-2007, 07:51 PM
I installed this and now my registration emails are coming out like this:

Dear test789, Thank you for registering at the MyDomain Forums. Before we can activate your account one last step must be taken to complete your registration. Please note - you must complete this last step to become a registered member. You will only need to visit this url once to activate your account. To complete your registration, please visit this url: http://mydomain.com/forums/register.php?a=act&u=33241&i=48585829 America Online Users Please Visit Here to be Activated **** Does The Above URL Not Work? **** If the above url does not work, please use your Web browser to go to: http://mydomain.com/forums/register.php?a=ver Please be sure not to add extra spaces. You will need to type in your username and activation number on the page that appears when you visit the url. Your Username is: test789 Your Activation ID is: 48585829 If you are still having problems signing up please contact a member of our support staff at All the best, MyDomain Forums -------------------- To stop receiving this email, please visit this url: http://mydomain.com/forums/register.php?do=deleteactivation&u=33241&i=48585829

Any ideas

Servant
12-05-2007, 09:33 PM
Hi, i installed this, and it worked fine and I was elated, and then the emails stopped working and starting shooting out html (ie, gmail started displaying html tags).

I realized that this happened when i sent emails and hit the back button.

But, it works great if you click on the menuitem "Send Email to Users" each time you want to send out a fresh email.

Hope this helps the folks who still use the mod, and the debuggers/coders.

A.