Banner

Sponsor

Login


Welcome Back!
Guest
Guest

Register

Lost your password?

139 users online



Validating Email Addresses - Do they exist?

Validating Email Addresses - Do they exist?

Currently viewing this thread: 1 (0 members and 1 guests)


Page 1 out of 2
Grunge

Grunge

I love going to Ozzfest.
Status: Offline!

Validating Email Addresses - Do they exist?

I've searched this form over, and found plenty of good ways to make sure a feild has something like an email (blahblah@thisplace.com) ... but I need a way to make sure the email actually exists.

I'm getting a little frustratted with folks putting in bogus emails (jkasdjsda@jkasdjdas.com) and I figure the least they can do is go out and creat a bogus email :P

Anyway, I searched the web and found something very, very close to what I need. ( http://coveryourasp.com/ValidateEmail.asp ... Step 3: SMTP validation ) ... but unfortunatly, I don't use ASP :\

Does anyone know how I can get a similar result using something not Window's based? I'm not actually sure what kind of script can do this (I'll assume it's a server side script) so if it helps, I'm using Apache on a Unix server.

Thanks for any information!

___________________

Grunge
Jenn Rodriguez | qrow.com

Grunge

Grunge

I love going to Ozzfest.
Status: Offline!

Oops! I seem to have posted this in the wrong forum. Can an admin please move this to the script request?

___________________

Grunge
Jenn Rodriguez | qrow.com

CDude

CDude

nothing
Status: Offline!

look for an smtp class

___________________

http://celerondude.com

TrumpBunny

TrumpBunny

Status: Offline!

uhh, I suggest looking up fsockopen()

It's pretty much like pinging the server, if it replys then it is a valid email. They could get around it by doing something like "Me@tutorialforums.com" but many people don't think of that. Also if their mail server was down it would mess it up. But you have to crack eggs to make omelets.

Good Luck with it.

(Spoono tutorial: http://www.spoono.com/php/tutorials/tutorial.php?id=28)

OReason

OReason

Status: Offline!

Verify a User's Email Address Using PHP
By Joe Marini

http://www.sitepoint.com/article/1051

___________________

This is a optional signature you may use to appear at bottom of your posts.

jadedchron

jadedchron

Neverside Newbie
Status: Offline!

if you're using dreamweaver there's a server behavior extension for doing just this. although you wouldn't be learning from it Eek

___________________

Nick
Pixel-Infinity

UNKNOWN16

UNKNOWN16

Status: Offline!

u could use mail() send them a e-mail to the address they give then click on a validation link the in e-mail that will activate what ever they are trying to do.

for example.
they creat an account they are given a unique id and the account starts of deactivated.

in the e-maill have a link like
www.your_site.com/activate_account?user_account_id=[what ever there account id is]

they click that then it changes the account to active.

Oxy

Oxy

Neverside Newbie
Status: Offline!

Send a confirmation e-mail is the only way to be truly sure.

___________________

RAAAH

OReason

OReason

Status: Offline!

Or you can send them a generated-password, which they can change when they login..

___________________

This is a optional signature you may use to appear at bottom of your posts.

Phil

Phil

with Mr. Jones
Status: Offline!

Which is a confirm email. Confirm emails are the way to go, I prefer unknown's method then sending them a password, although you should use a random string; activate=s9sd8fff9982 not activate_id=23 because then I can easily go to that without recieving the email.

___________________

http://www.philbrodeur.com - Expert PHP Development and Tutorials

Page 1 out of 2
Quick Jump:

Main Navigation


Site & Graphic Design by Aeon Tan
Developed by Jeremie Pelletier & Scott Roach


NeverAPI generated this page in 0.0089 seconds.