equal
deleted
inserted
replaced
12 from VirtualMailManager.constants.ERROR import \ |
12 from VirtualMailManager.constants.ERROR import \ |
13 DOMAIN_NO_NAME, INVALID_ADDRESS, LOCALPART_INVALID |
13 DOMAIN_NO_NAME, INVALID_ADDRESS, LOCALPART_INVALID |
14 from VirtualMailManager.Exceptions import VMMEmailAddressException as VMMEAE |
14 from VirtualMailManager.Exceptions import VMMEmailAddressException as VMMEAE |
15 |
15 |
16 |
16 |
17 RE_LOCALPART = """[^\w!#$%&'\*\+-\.\/=?^_`{\|}~]""" |
|
18 _ = lambda msg: msg |
17 _ = lambda msg: msg |
19 |
18 |
20 |
19 |
21 class EmailAddress(object): |
20 class EmailAddress(object): |
22 """Simple class for validated e-mail addresses.""" |
21 """Simple class for validated e-mail addresses.""" |