Comment 4 for bug 1117810

Revision history for this message
Alexandre Fayolle - camptocamp (alexandre-fayolle-c2c) wrote : Re: usernames with a dot don't receive emails

A quick look in the openobject-server code grepping for email brought several different regular expressions used for the validation and / or extraction of emails. in ir_mail_server.py, tools/mail.py, res_partner.py. There are other regexps in openobject-addons (mail/mail_thread.py, ./crm/wizard/crm_lead_to_opportunity.py,

If you really need to handle email addresses with regexp, please provide a central, not too restrictive regexp (cf. http://davidcel.is/blog/2012/09/06/stop-validating-email-addresses-with-regex/) and use this single reference version throughout the code.