Merge pull request #2820 from bblommers/bug/2264
SES - Parse email address on verification
This commit is contained in:
commit
0903f6a4a2
2 changed files with 15 additions and 0 deletions
|
|
@ -91,9 +91,11 @@ class SESBackend(BaseBackend):
|
|||
return host in self.domains
|
||||
|
||||
def verify_email_identity(self, address):
|
||||
_, address = parseaddr(address)
|
||||
self.addresses.append(address)
|
||||
|
||||
def verify_email_address(self, address):
|
||||
_, address = parseaddr(address)
|
||||
self.email_addresses.append(address)
|
||||
|
||||
def verify_domain(self, domain):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue