Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Validate email by MX lookup Details »
Validate email by MX lookup
Mod Version: 1.00, by fastforward (Member) fastforward is offline
Developer Last Online: Nov 2011 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 2.2.x Rating: (3 votes - 4.67 average) Installs: 61
Released: 08 Apr 2002 Last Update: Never Downloads: 8
Not Supported  

This simple little hack will verify email addresses during registration and updates of profiles by doing an MX lookup against the domain to ensure somebody is accepting email for it.

It won't tell you if the actual user is valid on the domain, but it will prevent fake domains backing up in your mail spool and slowing everything down.

It requires one new error template and two simple code additions to register.php and member.php. Instructions attached.

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.
Comments
  #2  
Old 08 Apr 2002, 01:44
snyx's Avatar
snyx snyx is offline
 
Join Date: Oct 2001
nice man, install this asap!
Reply With Quote
  #3  
Old 08 Apr 2002, 02:16
nafae's Avatar
nafae nafae is offline
 
Join Date: Nov 2001
Fantastic, I am soo going to install this
Reply With Quote
  #4  
Old 08 Apr 2002, 14:50
Chen's Avatar
Chen Chen is offline
 
Join Date: Sep 2001
Great. What happens if the mail server is down though?
__________________
Chen Avinadav
Formerly vBulletin.org Owner and Founder

chen@avinadav.com
Reply With Quote
  #5  
Old 08 Apr 2002, 15:04
fastforward fastforward is offline
 
Join Date: Oct 2001
Originally posted by FireFly
Great. What happens if the mail server is down though?
Most ISP's will have secondary MX and mail server. In fact, even I have a backup mail server.

If they don't have a backup, then you probably wouldn't want them registering with that unreliable address and risk clogging up your forums mail queue.
__________________
BritishExpats.com - (British expatriate community)
Reply With Quote
  #6  
Old 08 Apr 2002, 15:07
Chen's Avatar
Chen Chen is offline
 
Join Date: Sep 2001
Ok, I was just wondering.
I once saw a different script that tries to connect to the server, and make sure the mailbox is really there, but then if the server was done the script will just return false.
__________________
Chen Avinadav
Formerly vBulletin.org Owner and Founder

chen@avinadav.com
Reply With Quote
  #7  
Old 08 Apr 2002, 15:16
fastforward fastforward is offline
 
Join Date: Oct 2001
Actually, I just realized that what I wrote was all wrong. I wasn't thinking straight.

The MX record is a DNS issue. It doesn't matter if the mail server is down. The DNS will still show that somebody should be accepting mail for it.

The only time it will fail will be if the DNS server is down or the domain doesn't have anyone accepting mail for it.
__________________
BritishExpats.com - (British expatriate community)
Reply With Quote
  #8  
Old 08 Apr 2002, 15:21
Chen's Avatar
Chen Chen is offline
 
Join Date: Sep 2001
Even better. The other script I saw though definitely connects to the server, so this one is better.
__________________
Chen Avinadav
Formerly vBulletin.org Owner and Founder

chen@avinadav.com
Reply With Quote
  #9  
Old 08 Apr 2002, 15:27
wooolF[RM]'s Avatar
wooolF[RM] wooolF[RM] is offline
 
Join Date: Jan 2002
great hack! I'm tired of peeps who give they mail like i_love_vbb@coolhax0r.net or something... I'll install it!
__________________

It's nice to be important but it's more important to be nice.
--------------------------------------------------------------------------------------------------------------------------------------------
Never discuss with an idiot, he'll just pull you down to his own level and beat you with experience!
--------------------------------------------------------------------------------------------------------------------------------------------
Its not the penis that makes the man, its the way he uses it.
Reply With Quote
  #10  
Old 08 Apr 2002, 17:41
Marshalus's Avatar
Marshalus Marshalus is offline
 
Join Date: Nov 2001
Real name: Mike Stanclift
Very nice!
Reply With Quote
  #11  
Old 11 Apr 2002, 09:08
Erwin's Avatar
Erwin Erwin is offline
 
Join Date: Jan 2002
This is a wonderful hack and should be integrated into vB3 I reckon! Two thumbs up.
Reply With Quote
  #12  
Old 11 Apr 2002, 10:11
inetd inetd is offline
 
Join Date: Nov 2001
Good! Hack must be integrated into vB3! Very cool!
Thanks for hack, fastforward!
Reply With Quote
  #13  
Old 11 Apr 2002, 15:44
hypedave's Avatar
hypedave hypedave is offline
 
Join Date: Nov 2001
for some reason it didnt work on these domains for me

@yahoo.com
@hotmail.com
@excite.com
Reply With Quote
  #14  
Old 11 Apr 2002, 16:15
fastforward fastforward is offline
 
Join Date: Oct 2001
Originally posted by hypedave
for some reason it didnt work on these domains for me

@yahoo.com
@hotmail.com
@excite.com
What do mean by 'it doesn't work'? It works for me on all those domains. Lets face it, it's unlikely any of those would have broken DNS and MX records set up.
__________________
BritishExpats.com - (British expatriate community)
Reply With Quote
  #15  
Old 11 Apr 2002, 16:19
hypedave's Avatar
hypedave hypedave is offline
 
Join Date: Nov 2001
well lets see for some reason, it came back with the error that those were invalid email account, and I tested using my email accout from those domains,
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 05:00.

Layout Options | Width: Wide Color: