By jeanmichel-1 on
Hi,
When creating a new profile, the user is prompted to enter a valid email address.
Well, a simple valid email like for instance: email@yahoo.com doesnt even work.
Does someone know a better email validation function than the one build-in Drupal?
Or anyway to fix that?
I tried several email addresses and they all fail so there must be something wrong somewhere...
thanks
Comments
Not a Drupal problem
If your emails are not being delivered, it's not Drupal's fault. Drupal hands the email to the mail transfer agent on your web host. If the agent is not properly configured, your mail will not go through.
Typical mail transfer agents would be Sendmail, Postfix, Exim, Qmail, etc.
Space at the beginning?
Hi,
had a very similar problem > tried to create a new user with
email: firstname.lastname-lastname@domain.com
and it returened error:
The e-mail address firstname.lastname-lastname@domain.com is not valid.
(And the problem was not with the hyphen character)
Then I found out I copypasted the user´s email with a whitespace character at the beginnig (it was entered like that in the addressbook). And that was the problem here - email cannot start with whitespace. (obviously).
This might not be a solution to your problem - but just one thing that *could* be it.