Last post Jun 27, 2007 09:05 PM by Matt-dot-net
Jun 27, 2007 12:26 PM|zuperboy90|LINK
i want to make a sign up form on my site, and i want to use the e-mail to sign in (not User Name)...is good if i modify the database making "optional" the e-mail and let users write their mail on User Name?
how can i verify the mail if exists? are programs wich do that?
Jun 27, 2007 12:38 PM|bullpit|LINK
To verify the existance of an email address, you have to hit the email address. Heres a tool I found online but I don't know if you can use it in your application.
Heres a good article on that:
Jun 27, 2007 12:41 PM|Matt-dot-net|LINK
Here is a simplistic example of how to do this:
Jun 27, 2007 01:42 PM|PLBlum|LINK
The technology used to detect email servers and individual email addresses involves "MX records". You can search the web for that. There are several third party libraries for .net that help you use the mx records. I know of
aspnetmx (I know the author. He does a great job). But you may find others.
Jun 27, 2007 01:47 PM|bullpit|LINK
On a side note: How vulnerable are these methods to spammers?
I know developers employ image verification to prohibit bots from exploiting these kind of methods.
Jun 27, 2007 03:26 PM|zuperboy90|LINK
a little help with that GUID? please... and thank you
Jun 27, 2007 09:05 PM|Matt-dot-net|LINK
//Create a new Guid (Globally unique identifier)
Guid myNewGuid = Guid.NewGuid();
//looks like: 5C18B58C-5D6A-439C-AFB9-B6F56AEE0F0B
//use the string for moving between web services
//and email clients.
//to move to database
Also you can play with GUIDs in TSql (known as uniqueidentifier data type) and also create a random id like this:
This will give you a new Guid like 5C18B58C-5D6A-439C-AFB9-B6F56AEE0F0B
Hope this helps!