#2264 - SES - Ensure verify_email_address works with display names
This commit is contained in:
parent
60c98ca836
commit
f0cab68208
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