Answers.Body: <p>The client-side validation in CiviCRM will flag any invisible or space characters which get pasted in along with an email address or URL. The non-printing characters are the trickiest to find, including things like carriage returns and line feeds that seem to get swept up in some copy-paste operations. I encounter this problem relatively frequently, but it is hard to pinpoint the exact combination of platform, browser, and source.</p>
  
  <p>Therefore, if I have an e-mail address or URL which doesn't seem to take even though it appears to be well-formed, I "clear" the characters by pasting someplace else first, like the <code>To:</code> field in an e-mail or the URL bar in the browser. This strips out the non-ASCII characters, and I can then re-select the desired text and paste it into CiviCRM as usual.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-06-22T23:51:31.777Z
Answers.LastActivityDate: 2018-06-22T23:51:31.777Z
Answers.UserDisplayName: choster
Body: <p>I am trying to add a new email address for an existing contact. The address is valid. However, the new address will not save and I received this message:
  <strong>Please enter a valid email address</strong></p>
  
  <p>The address is: valerie.king@lottery.nh.gov</p>
  
  <p>How can I get the change accepted and saved?</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2018-06-21T16:01:10.780Z
Comments.Text: How did you try adding email address? Through contact form or profile? Since I couldn't replicate the error on http://dmaster.demo.civicrm.org/
Comments.UserDisplayName: Pradeep Nayak
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2018-06-21T22:14:59.413Z
Comments.Text: I hit this all the time - but in my case it's because somehow I add a leading or trailing space when I copy & paste - could it be that?
Comments.UserDisplayName: user4278
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2018-06-22T17:45:24.893Z
Comments.Text: I tried typing it in the profile.
Comments.UserDisplayName: NHPHA Executive Assistant
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2018-06-22T17:47:23.420Z
Comments.Text: Thank you for your responses. I just retried and it saved. Oh happy day!!
Comments.UserDisplayName: NHPHA Executive Assistant
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2018-06-22T17:48:01.797Z
Comments.Text: I bet you were correct re. spacing issues in the copy and paste.
Comments.UserDisplayName: NHPHA Executive Assistant
Tags: <contacts><validation>
Title: CiviCRM will not recognize valid email address
ThreadText: # CiviCRM will not recognize valid email address
  
  (Asked by: username_0 on 2018-06-21)
  
  I am trying to add a new email address for an existing contact. The address is valid. However, the new address will not save and I received this message:
  **Please enter a valid email address**
  
  The address is: valerie.king@lottery.nh.gov
  
  How can I get the change accepted and saved?
  
  **Tags:** contacts, validation
  
  > **Comments:**
  > **username_1**: How did you try adding email address? Through contact form or profile? Since I couldn't replicate the error on http://dmaster.demo.civicrm.org/  
  > **username_2**: I hit this all the time - but in my case it's because somehow I add a leading or trailing space when I copy & paste - could it be that?  
  > **username_0**: I tried typing it in the profile.  
  > **username_0**: Thank you for your responses. I just retried and it saved. Oh happy day!!  
  > **username_0**: I bet you were correct re. spacing issues in the copy and paste.  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_3 on 2018-06-22. Score: 3
  
  The client-side validation in CiviCRM will flag any invisible or space characters which get pasted in along with an email address or URL. The non-printing characters are the trickiest to find, including things like carriage returns and line feeds that seem to get swept up in some copy-paste operations. I encounter this problem relatively frequently, but it is hard to pinpoint the exact combination of platform, browser, and source.
  
  Therefore, if I have an e-mail address or URL which doesn't seem to take even though it appears to be well-formed, I "clear" the characters by pasting someplace else first, like the `To:` field in an e-mail or the URL bar in the browser. This strips out the non-ASCII characters, and I can then re-select the desired text and paste it into CiviCRM as usual.
  
  
  ---
  
  