Register Members List Search Today's Posts Mark Forums Read

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.

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.

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

Old 05 Aug 2011, 17:27
laynespeers laynespeers is offline
Join Date: Mar 2011
Adding an email server

Originally Posted by FireFish View Post
Just FYI; since I installed this, I'm averaging about 2-3 'Contact Us' messages a week from guests who are wanting to register with email accounts at like or other major domains. They complain that they can't due to an error regarding 'contacting their email server'.

Although I totally love the idea & am sure it works most of the time, I can't loose those members & therefore must disable this mod. v
Originally Posted by Twin_Turbo View Post
I just got word from a member with a cox email address that he gets this message:

"Please enter another e-mail address. We were unable to contact your
e-mail server and verify that your e-mail address exists. If you
continue to have registration problems, please contact us for

Could it be because he is using opera or mozilla?
The post right above you was explaining how to get around get around the default restrictions with the email servers. Well, they showed you how to get around the yahoo email server. Here, I will explain how you can make acceptions for different email servers.

Whenever you are contacted by someone saying that they cannot access the website due to email restrictions, simple add that email server to the .xml script. Here, I will show you what I am trying to say.

Okay, so first things first. You are going to want to open your os_validate_email_1.0.xml file. Once the file is open to editable mode, search for the following:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Now that you have found the main method that verifies the email servers that the script is aloud to interact with, you are going to need to modify it just a little bit. The next thing that you are going to need to do is replace that code with the following:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Okay, so before we replaced that code, this script could not work with yahoo email servers, if you would like more information on the reasoning for that, see post #.

Now, I am going to explain how you are to go about adding more email servers to the list. This is very simple, and you won't take long to figure it out. As and example, I am going to add sbcglobal to the list. Okay, inorder to add another email server to the list, you are going to want to paste the following code right after "/yahoo/i",:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Okay, once you have added that, your code should like something like:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

So basically, when someone contacts you saying that they are unable to connect to your website with their email server, you will simply go into your script and add the email server. Also, do not add the domain extension when adding an email server, only add the main name of the email domain.

I am sorry if this doesn't work properly, I'm really not that great of a web programmer as I personally prefer to work with Java, but I thought I would speak up and help those in need .

Best Regards,
Reply With Quote
Old 17 Nov 2012, 10:02
Naijasite's Avatar
Naijasite Naijasite is offline
Join Date: Mar 2012
its not working ...i enterd fake email as and it allowed the registration on vb 4.
Reply With Quote

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 11:47.

Layout Options | Width: Wide Color: