aichallenge/aichallenge — Issue #322: Signup page rejects valid email addresses
Author: Toxaris
Created: 2011-10-23 12:24:48+00:00
State: open

The signup page for the contest website rejects my email address with the following error

Could not find the email address entered. Please enter a valid email address.

I double-checked my email address, and it is valid. Looking at the code, I believe the problem is in `process_registration.php`, where the email address is checked as follows:

```php

```

I'm not a DNS expert, but I guess that the results of `getHostByName` are not relevant for sending email, because email is handled differently from direct connections to hosts. My email address has the form `...@informatik.uni-marburg.de`. That host is not associated with an IP address, so gethostbyname fails and the error message is generated. Sending email to that host, however, would work.

Please remove the test with `gethostbyname`.