Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Check E-mail Address Before Registration Details »
Check E-mail Address Before Registration
Mod Version: 1.00, by echamberlain (Member) echamberlain is offline
Developer Last Online: Mar 2017 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.6.5 Rating: (25 votes - 4.76 average) Installs: 263
Released: 11 Apr 2007 Last Update: 11 Apr 2007 Downloads: 994
Not Supported Uses Plugins  

This mod checks that the user supplied e-mail address is a real address before allowing registration to continue.

Even though we use Verify Email address in Registration, I still get tired of cleaning up bad e-mail addresses.

This mod integrates with the user registration process and performs the following tasks:
  1. Syntax checking (configurable) to make sure what was entered is an e-mail address.
  2. Looks up the MX records for the e-mail address.
  3. Cycles through the mail servers by connecting to each mail server and tries to verify that the e-mail address is a valid address. The cycling stops as soon as a mail server returns a valid or invalid user.
Installation

Install the attached xml product file. The product is active at installation and most sites should run fine with the default settings.

If you run the default configuration, e-mail addresses will be rejected when:
  • Syntax doesn't look like an e-mail address
  • MX record or A record does not exist for the e-mail domain
  • A mail server reports that the e-mail address is invalid
If you run the default configuration, e-mail address will pass when:
  • Syntax looks like an e-mail address
  • MX record or A record exists for the e-mail domain
  • All mail servers timeout or a mail server reports that the e-mail address is valid.
Configuration

This mod is managed from the vBulletin Options -> User Registration Options page. The following options are added to the page:
  • Validate Registration E-mail Addresses - Enter a regular expression to use when validating e-mail addresses. Leave the field blank to disable validation. The recommendation is to use the default value.
  • Treat E-mail Address As Valid If All Mail Hosts Timeout - If all the mail hosts timeout, should the e-mail address be treated as valid?

    NOTE: Changing this to no will reject valid users when your hosting provider doesn't allow fsockopen calls or when the timeout value is too short. The SMTP RFC's allow for a connection request response wait time of up to minues, since this test is real-time with a waiting user, waiting minutes is impractical. Just because a host timesout doesn't mean the host is not there.
  • Mail Host Timeout Value (Seconds) - Length of time to wait when trying to open a session with a mail host.

    NOTE: Don't set this value too large, if a domain has more than one MX record, the user will have to wait for each connection attempt.
  • Does This Host Support fsockopen? - A PHP fsockopen call is used to try and connect to the remote mail servers. Some systems may not support or block these calls. With the value set to Yes, the connection attempts will timeout. GoDaddy's Shared Hosting is an example of a hosting provider that blocks outbound connection attempts.

    With this value set to no, the system will try to look up the MX records, but will not attempt to connect to each mail server.

Download Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Custom Usergroup on Registration (via e-mail address). Paul M Modification Graveyard 21 14 Feb 2013 16:00
AJAX: check for banned email on registration and changing mail MrNase vBulletin 3.0 Full Releases 20 03 Jun 2005 05:43
IP address of new users in registration e-mail James Cridland vBulletin 2.x Full Releases 6 01 May 2002 20:19

Comments
  #2  
Old 11 Apr 2007, 20:21
Terminatoronly's Avatar
Terminatoronly Terminatoronly is offline
 
Join Date: Mar 2006
Cool First Install

This Is Awsem
__________________
Report Post Suggestion Please See it And Give Your Idea.
Reply With Quote
  #3  
Old 11 Apr 2007, 20:46
mathias mathias is offline
 
Join Date: Feb 2002
do spam bots use working emails?
Reply With Quote
  #4  
Old 11 Apr 2007, 20:48
Queball_Beast's Avatar
Queball_Beast Queball_Beast is offline
 
Join Date: Mar 2006
Awesome, i`ll be installing this and clicking installed it will be handy with preventing spammer registrations also
__________________
Assume nothing, Expect everything.
Yu-Gi-Oh
Reply With Quote
  #5  
Old 11 Apr 2007, 21:34
rjmjr69's Avatar
rjmjr69 rjmjr69 is offline
 
Join Date: Jan 2007
Nice I like installed
Reply With Quote
  #6  
Old 11 Apr 2007, 21:43
HMBeaty HMBeaty is offline
 
Join Date: Sep 2005
Real name: Brooks
AWESOME!! Thank you!!

/me installs
Reply With Quote
  #7  
Old 11 Apr 2007, 22:43
puertoblack2003's Avatar
puertoblack2003 puertoblack2003 is offline
 
Join Date: Aug 2005
thanks another great hack.it should be a vb default
__________________
Android Custom Creations
Reply With Quote
  #8  
Old 12 Apr 2007, 01:11
Mr Chad's Avatar
Mr Chad Mr Chad is offline
 
Join Date: Jul 2005
nice man
__________________
If anyone wants any of my past modifications please PM me... I will provide you with a link to them. I have decided to remove all my modifications from VB.org because of a small incident...

You can get my popular hacks here: Coders Shack
Reply With Quote
  #9  
Old 12 Apr 2007, 01:40
menababu menababu is offline
 
Join Date: Mar 2007
thanks

thanks man install.hope to work great.
Reply With Quote
  #10  
Old 12 Apr 2007, 02:55
Hornstar's Avatar
Hornstar Hornstar is offline
 
Join Date: Jun 2005
Real name: Matt
This is exactly what I had suggested about 6 months ago, was not sure if this was possible, but thought it would be the perfect thing. Thanks heaps!

When your forums become large, you get so many people who think they can register with a fake email address eg. 123@fake.com and then some of them will contact you, saying they accidently typed in the wrong email address, others will probably sign up again, or just give up.

Just one question tho what happens if the mail server is temporary down?
Reply With Quote
  #11  
Old 12 Apr 2007, 03:43
echamberlain's Avatar
echamberlain echamberlain is offline
 
Join Date: Aug 2006
Real name: Eric
Originally Posted by hornstar1337 View Post
Just one question tho what happens if the mail server is temporary down?
If you are running the default configuration, and there are no other mail servers listed in the MX record, the e-mail address will be accepted. If there are other mail servers, they will be tried.

Note that sometimes backup mail servers will accept mail for any user *@domain.com, so this method is not perfect.

But it should catch the fake hotmail, yahoo, and gmail accounts.

I installed this mod in my production environment right before I posted it and my bounced activation mail is already down 80%.
__________________
Eric Chamberlain
Reply With Quote
  #12  
Old 12 Apr 2007, 05:30
popowich popowich is offline
 
Join Date: Jun 2004
Nice hack. How about making the "contact us" a link in the error message?

-Raymond
Reply With Quote
  #13  
Old 12 Apr 2007, 08:30
MaestroX MaestroX is offline
 
Join Date: Aug 2006
Real name: Chris A.
Very nice, thankyou
Reply With Quote
  #14  
Old 12 Apr 2007, 12:14
Barakat's Avatar
Barakat Barakat is offline
 
Join Date: Nov 2004
Real name: Barakat
thanks a lot
Reply With Quote
  #15  
Old 12 Apr 2007, 15:02
msimonds msimonds is offline
 
Join Date: Aug 2003
Real name: Mike Simonds
I installed this and tried to register with a fake email address from my own domain and it still allowed me to register

I thought that it validated emails to see if they were good before allowing registration?
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

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


New To Site? Need Help?

All times are GMT. The time now is 17:30.

Layout Options | Width: Wide Color: