Verify user email

Results 1 to 2 of 2

Thread: Verify user email

  1. #1
    Neil Hodge Guest

    Default Verify user email

    I would like to verify the email of users who fill out a form on a site. How have others here automated the response process, either by creating a ad-hoc link, or by automatically processing the email response, so that I know that the email address of the user is valid? I would prefer to do this with straight ASP, and without 3rd party components. Thanks for the advice. Neil

  2. #2
    sharique Guest

    Default RE: Verify user email

    Here is the code.<BR><BR><BR>&#060;% <BR> email = Request.form("email")<BR> lastthree = right(email,3) <BR> <BR> Response.Write lastthree<BR> if Instr(1,email,"@") = false then<BR> Response.Write "Not Valid<BR>"<BR> else<BR> if Instr(1,email,".") = false then<BR> Response.Write "Not Valid<BR>"<BR> else<BR> if lastthree &#060;&#062; "com" then<BR> Response.Write lastthree&" is Not Valid<BR>"<BR> else<BR> Response.Write "Valid<BR>"<BR> end if<BR> end if<BR> end if<BR>%&#062;<BR>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts