Closed (fixed)
Project:
Email Field
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Reporter:
Anonymous (not verified)
Created:
4 Sep 2007 at 23:22 UTC
Updated:
7 Jul 2017 at 00:42 UTC
Jump to comment: Most recent
Comments
Comment #1
michael_kirk commentedcan you give examples of the emails that are giving you errors and the exact error message? if you are concerned about privacy, try approximating the erroring email address by trading some characters around, but please make sure that the shuffled address still generates the non-valid email message.
Comment #2
harriska2 commentedlydiama@mac.com is the email that wouldn't pass for me. The error message is:
"lydiama@mac.com " is not a valid email address. Using drupal 5.3 with 5.x-1.x-dev email.
Comment #3
mh86 commentedHi!
I'm using this function http://api.drupal.org/api/function/valid_email_address/5 for validating email addresses. Maybe it's because of the trailing whitespace in your example.
matthias
Comment #4
harriska2 commentedYep, that was it - space at the end. I wonder if the module should chop spaces off the front and end and take that when validating. It would seem this might be a common user problem when cut and pasting.
Comment #5
mh86 commentedadding a trim should fix it, I'll do that as soon as possible
Comment #6
mh86 commentedI added a trim to cut off whitespaces when validating the mail address. this fixes the problems here
Comment #7
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.
Comment #8
capellicSeven years old and still causing problems.