should now process alternative email addresses
This commit is contained in:
@@ -235,6 +235,10 @@ class Command(BaseCommand):
|
||||
rowers = [
|
||||
r for r in Rower.objects.all() if r.user.email.lower() == from_address
|
||||
]
|
||||
rowers2 = [
|
||||
r for r in Rower.objects.all() if from_address in r.emailalternatives
|
||||
]
|
||||
rowers = rowers+rowers2
|
||||
except IOError:
|
||||
rowers = []
|
||||
except Message.DoesNotExist:
|
||||
|
||||
Reference in New Issue
Block a user