{"action":"opened","issue":{"url":"https://api.github.com/repos/DavidePrincipi/testdoc/issues/26","labels_url":"https://api.github.com/repos/DavidePrincipi/testdoc/issues/26/labels{/name}","comments_url":"https://api.github.com/repos/DavidePrincipi/testdoc/issues/26/comments","events_url":"https://api.github.com/repos/DavidePrincipi/testdoc/issues/26/events","html_url":"https://github.com/DavidePrincipi/testdoc/issues/26","id":119227893,"number":26,"title":"email validation function evalEmail()","user":{"login":"DavidePrincipi","id":2920838,"avatar_url":"https://avatars.githubusercontent.com/u/2920838?v=3","gravatar_id":"","url":"https://api.github.com/users/DavidePrincipi","html_url":"https://github.com/DavidePrincipi","followers_url":"https://api.github.com/users/DavidePrincipi/followers","following_url":"https://api.github.com/users/DavidePrincipi/following{/other_user}","gists_url":"https://api.github.com/users/DavidePrincipi/gists{/gist_id}","starred_url":"https://api.github.com/users/DavidePrincipi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DavidePrincipi/subscriptions","organizations_url":"https://api.github.com/users/DavidePrincipi/orgs","repos_url":"https://api.github.com/users/DavidePrincipi/repos","events_url":"https://api.github.com/users/DavidePrincipi/events{/privacy}","received_events_url":"https://api.github.com/users/DavidePrincipi/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/DavidePrincipi/testdoc/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-27T17:23:08Z","updated_at":"2015-11-27T17:23:08Z","closed_at":null,"body":"The email validation function uses several regex to filter emails.\nMaybe we could use the native php function “filter\\_var” with the “FILTER\\_VALIDATE\\_EMAIL” filter? which is following the RFC 5322\n\nIt would answer to some needs , like the “+” char.\n\nAttached, a suggestion of improvement to the function evalEmail()\n\nhttp://www.rfc-editor.org/rfc/rfc5322.txt @ 3.4. Address Specification\n\n----\nimported from http://dev.nethserver.org/issues/3209\n"}}