vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Mini Mods - Admin HTML Email: Sent as multipart/alternative (https://vborg.vbsupport.ru/showthread.php?t=151495)

calorie 07-05-2007 10:00 PM

Admin HTML Email: Sent as multipart/alternative
 
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.

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

Quote:

Originally Posted by Luky (Post 1284395)
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

Quote:

Originally Posted by webmaster74 (Post 1315270)
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

Quote:

Originally Posted by Luky (Post 1315376)
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:

Quote:

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....241&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....241&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.


All times are GMT. The time now is 06:51 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
  • Page Generation 0.05523 seconds
  • Memory Usage 1,749KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (14)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete