You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

5 lines
174 B

  1. # -*- coding: utf-8 -*-
  2. import re
  3. from openerp.addons.base.ir import ir_mail_server
  4. ir_mail_server.name_with_email_pattern = re.compile(r'([^<@>]+)\s*<([^ ,<@]+@[^> ,]+)>')