Validate email address

Discussion in 'JavaScript' started by Amsterdam, Aug 23, 2006.

  1. #1
    Apologies if this has been asked before, but:

    I am using a simple form processing script to allow users to send me an email from my website. It is implemented like:

    <form action="http://www.myurl.com/cgi-scripts/FormMail.cgi" method="post">

    I am hoping to cut down on the amount of bogus messages sent from the site and wondered what is the best way to validate the users email address?

    T
     
    Amsterdam, Aug 23, 2006 IP
  2. titoni

    titoni Active Member

    Messages:
    965
    Likes Received:
    23
    Best Answers:
    0
    Trophy Points:
    58
  3. Amsterdam

    Amsterdam Well-Known Member

    Messages:
    361
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    128
    #3
    That sorted it, thanks!

    T
     
    Amsterdam, Aug 24, 2006 IP