SES: Fix sending email when use verify_email_address (#3242)
This commit is contained in:
parent
8a551a9754
commit
47a227921d
2 changed files with 31 additions and 0 deletions
|
|
@ -103,6 +103,8 @@ class SESBackend(BaseBackend):
|
|||
_, address = parseaddr(source)
|
||||
if address in self.addresses:
|
||||
return True
|
||||
if address in self.email_addresses:
|
||||
return True
|
||||
user, host = address.split("@", 1)
|
||||
return host in self.domains
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue