vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Administrative and Maintenance Tools - Send HTML Email to Users (https://vborg.vbsupport.ru/showthread.php?t=120069)

akanevsky 07-05-2006 12:24 AM

I checked this on yahoo, optonline, hotmail and google, it's working for me...

MSheraz86 07-05-2006 12:36 AM

Update: Yahoo is working Fine!!

Stupid of me > Did not realise that options needed to be edited. I chose yes for HTML emails and so finally am seeing HTML based email at yahoo. My header isn't showing lol.

Here's the creepy part..

My IP address is being given away and I have the following on the left hand side appearing.

Quote:

X-Apparently-To:
X-Originating-IP:
Return-Path:
Received:
Received:
To:
Subject: Testing
X-PHP-Script:
From: "MSheraz86@hotmail.com" <MSheraz86@hotmail.com> Add to Address Book
Message-ID: <200607050135.715d63543728@www.themobilefactor.com >
MIME-Version: 1.0
Content-Type: text/html; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Priority: 3
X-Mailer: vBulletin Mail via PHP
Date: Tue, 04 Jul 2006 20:28:35 -0500
X-AntiAbuse: This header was added to track abuse, please include it with any abuse report
X-AntiAbuse: Primary Hostname -
X-AntiAbuse:
X-AntiAbuse:
X-AntiAbuse: Sender Address Domain -
X-Source:
X-Source-Args:
X-Source-Dir:
Content-Length:
Sorry for the mess up there. Why is the above showing in yahoo? I'm glad I didn't send out emails to anyone else lol.

akanevsky 07-05-2006 12:38 AM

I believe those are normal. Configure yahoo not to show headers by default..

MSheraz86 07-05-2006 12:51 AM

Awesome!! Yahoo is sorted then :D, I don't seem to understand why hotmail isn't working. I'm definately certain that hotmail was accessible, I could send emails but now it's not possible. I asked one of my sup mods as well and he didn't get anything at all.

Is there a way to configure the header of my HTML? Yahoo shows the header pointing at http://mail.yahoo.com/config/login?/index.php and I don't see any image there :p.

On a site note some time ago this is EXACTLY How I had imagined HTML emails when I made an attempt to manually send one lol. Anyways putting hotmail aside this is a very useful and great mod :D. Only the issue with hotmail is left along with the header and i'm ready to start sending emails :D.

[I appreciate the on-going support Anthony :)]

maroceve 07-05-2006 10:50 AM

Hey there.

I was wondering if there is way to force users already registered to receive html emails without them checking the box in their options ?

akanevsky 07-05-2006 11:11 AM

Quote:

Originally Posted by maroceve
Hey there.

I was wondering if there is way to force users already registered to receive html emails without them checking the box in their options ?

[SQL]UPDATE user SET htmail = 1[/SQL]

MSheraz86 07-05-2006 03:18 PM

^^ Exremely USEFUL!! :D I ran the query successfully :).

Any luck with why hotmail users are not getting any emails from my site? :(

Kirk Y 07-08-2006 05:44 AM

Nice hack.

* installs

Edit: Psionic, do you by chance have a screenshot of a typical email when using this hack? My test email doesn't look that html..ish and my header image is messed up. It's attempting to call it from the images dir. without my site url. (http://images/misc/blabla.gif)

Edit: Hmm, appears it's something with Gmail. They're not taking too kindly to the CSS or something -- all my other accounts work fine: Comcast, Hotmail, Yahoo, etc.

akanevsky 07-09-2006 10:31 AM

Yes, the GMAIL does not correctly work with HTML e-mails.

Logikos 07-10-2006 09:53 AM

I've been using my own version of this for awhile now and noticed that not many Email Providers accept any CSS. Your best bet is to use the style="" attribute. The template I've been using to send emails that are formated nicely is the following.

HTML Code:

<br />
<table border="0" width="80%" cellpadding="0" cellspacing="0" align="center" style="border: 1px solid #334676;">
<tr>
        <td>

                <table border="0" width="100%" cellpadding="0" cellspacing="0" align="center">
                <tr>
                        <td><img src="http://www.vbhackers.com/forum/images/misc/vbulletin_hackers_logo.gif"></td>
                </tr>
                <tr>
                        <td valign="top" style="background: #405384;">&nbsp;</td>
                </tr>
                </table>


                <table border="0" width="100%" cellpadding="1" cellspacing="6" align="center">
                <tr>
                        <td class="alt2">

                                <div style="font: 11px verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;"><strong>New Title</strong></div>
                                <br />
                                <div style="font: 11px verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;">
                                Some Text Here
                                </div>

                        </td>
                </tr>
                </table>
        </td>
</tr>
</table>
<br />

Notice the style="" attribute being used alot there. You cab basily use any CSS commands in the style attribute for that giving <table>, or <td>. You can see the howto here: http://www.vbhackers.com/forum/showthread.php?t=3840.


All times are GMT. The time now is 02:53 PM.

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.01069 seconds
  • Memory Usage 1,750KB
  • 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
  • (1)bbcode_html_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete