vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Prevent E-mail's From Sitting In The Junk Folder (https://vborg.vbsupport.ru/showthread.php?t=79056)

sabret00the 03-29-2005 10:00 PM

Prevent E-mail's From Sitting In The Junk Folder
 
Thanks to Nexlysis (think that's how you spell it) for the tip, it's an easy mod, i installed it on my live board and not only did it send the stuff to my inbox it made babies :o

but open functions.php and find:
PHP Code:

// ###################### Start vb_send_mail #######################
function vb_send_mail($toemail$subject$message$header)
{
    global 
$vboptions;

    if (!
class_exists('Mail'))
    {
        require_once(
'./includes/mail.php');
    } 

and below add:
PHP Code:

    // +++ de-Spam email
    
$message trim($message);
    
// --- de-Spam email 


now find in the same file:
PHP Code:

        if ($vboptions['usemailqueue'] AND !$notsubscription)
        {
            
$data '(' TIMENOW .' , "' addslashes($toemail) . '" , "' addslashes($subject) . '" , "' addslashes($message) . '" , "' addslashes($headers) . '" )'

and then above add
PHP Code:

        // +++ de-Spam email
        
$message trim($message);
        
// --- de-Spam email 

save and upload because you're done. :)

Deaths 03-30-2005 11:16 AM

What does this exactly do ^^?

Bolas 03-30-2005 11:35 AM

it seems to cut all white spaces after and before the message.. Maybe antispam sw are confused by white spaces?

sabret00the 03-30-2005 12:12 PM

Quote:

Originally Posted by Bolas
it seems to cut all white spaces after and before the message.. Maybe antispam sw are confused by white spaces?

got it in one :)

T3MEDIA 03-30-2005 12:59 PM

I see... but I find the biggest issue is AOL why do they block everything??? (from the Forums that is)

C.Birch 03-30-2005 01:48 PM

because aol suck to sum things up, there way to much with all the your emails safe crap and they most block about 80-90% of all incoming email grrr.

Cap'n Steve 03-30-2005 03:41 PM

I would hope that any good filtering software wouldn't have a problem with spaces. Thanks for the hack, though!

sabret00the 03-30-2005 04:00 PM

Quote:

Originally Posted by Cap'n Steve
I would hope that any good filtering software wouldn't have a problem with spaces. Thanks for the hack, though!

apparently they do :ermm:

msimplay 03-30-2005 04:11 PM

Quote:

Originally Posted by sabret00the
apparently they do :ermm:

hmm this is not good no wonder spam gets through my damn filters , on the other hand least my site mails won't go into junk until the fix it :P

nexialys 03-30-2005 05:20 PM

/me << not Nexlysis...

and what have i done to be named on this hack ?!

EDIT: ha, ok, now i remember... the old TRIM trick!!!


All times are GMT. The time now is 01:54 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.01141 seconds
  • Memory Usage 1,745KB
  • 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_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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