Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Prevent E-mail's From Sitting In The Junk Folder Details »»
Prevent E-mail's From Sitting In The Junk Folder
Version: 1.01, by sabret00the sabret00the is offline
Developer Last Online: Apr 2010 Show Printable Version Email this Page

Version: 3.0.7 Rating:
Released: 03-29-2005 Last Update: Never Installs: 26
 
No support by the author.

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

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.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 03-30-2005, 05:44 PM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

lol, Sabretooth AKA dislexialis
Reply With Quote
  #13  
Old 03-31-2005, 06:06 AM
bigcurt's Avatar
bigcurt bigcurt is offline
 
Join Date: Nov 2004
Location: KierDarby.php
Posts: 1,009
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sabretooth is going for that master coder
Reply With Quote
  #14  
Old 03-31-2005, 03:04 PM
Koutaru's Avatar
Koutaru Koutaru is offline
 
Join Date: Feb 2003
Location: IL
Posts: 589
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does this really work? I'm very curious.
Reply With Quote
  #15  
Old 03-31-2005, 03:25 PM
Oblivion Knight's Avatar
Oblivion Knight Oblivion Knight is offline
 
Join Date: May 2002
Location: Sheffield, UK
Posts: 1,757
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Koutaru
Does this really work? I'm very curious.
I've no idea, but I've installed it anyway..
Reply With Quote
  #16  
Old 03-31-2005, 03:44 PM
Koutaru's Avatar
Koutaru Koutaru is offline
 
Join Date: Feb 2003
Location: IL
Posts: 589
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You don't know how many emails I've gotten about users "losing" emails when I'm almost positive their mail provider put it in the junk or bulk folder. So frustrating.

You know what, if it'll save me from answering those emails, you've got yourself an install

[high]* Koutaru installs[/high]
Reply With Quote
  #17  
Old 03-31-2005, 04:49 PM
Bryan Ex's Avatar
Bryan Ex Bryan Ex is offline
 
Join Date: Feb 2004
Location: Canada
Posts: 233
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by T3MEDIA
I see... but I find the biggest issue is AOL why do they block everything??? (from the Forums that is)
It's an automated process. Every time one of their users blocks notices from your board instead of actually managing their mail settings it's a strike against your domain IP. If enough users block you AOL will black list you and then inform you about it a week later when stuff starts bouncing. I'm seeing more and more sites stating they do not accept AOL, Netscape, or Excite addresses being used to register with because the activation notices simply don't get through. Of course those that subscribe to these services rarely understand that their email is being censored rather than filtered. I think I've been blacklisted by AOL about 7 times now. (sigh)
Reply With Quote
  #18  
Old 04-05-2005, 03:23 PM
Antivirus's Avatar
Antivirus Antivirus is offline
 
Join Date: Sep 2004
Location: Black Lagoon
Posts: 1,090
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yeah, it's amazing how many new users register on our boards but never click the link in the confirmation email to confirm their registration. I have even had some friends who signed up to the board tell me that the registration email ended up in their junk folder. (sigh)

I think however i can test this by installing this hack, then re-sending the confirmation email to the users awaiting email confirmation. Maybe if i see that some of the finaly confirm it will show that it's working for some of their mail servers...
Reply With Quote
  #19  
Old 04-05-2005, 09:40 PM
buro9 buro9 is offline
 
Join Date: Feb 2002
Location: London, UK
Posts: 585
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Only the first half of this hack need be installed.

There is no point trimming the version that goes into the mailqueue, as when the mailqueue is executed each mail is passed to vb_send_mail anyway, which is where the first half of the hack already does the trimming

Sure the second trim() would simply be ineffective, but that's reason enough to not bother telling people to put it in
Reply With Quote
  #20  
Old 04-05-2005, 09:43 PM
buro9 buro9 is offline
 
Join Date: Feb 2002
Location: London, UK
Posts: 585
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by buro9
Only the first half of this hack need be installed.

There is no point trimming the version that goes into the mailqueue, as when the mailqueue is executed each mail is passed to vb_send_mail anyway, which is where the first half of the hack already does the trimming

Sure the second trim() would simply be ineffective, but that's reason enough to not bother telling people to put it in
Er, maybe I could've worded that better.

All mail ends up going through vb_send_mail, so you only need apply the hack there (the first instruction above).
Reply With Quote
  #21  
Old 04-13-2005, 05:50 AM
JustAskJulie JustAskJulie is offline
 
Join Date: Nov 2002
Posts: 197
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does this help with Yahoo then? As they seem to automatically put ANY automated emails into the spam folder.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:02 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.04497 seconds
  • Memory Usage 2,316KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (4)bbcode_php
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete