Private
Public Access
1
0

Merge tag 'emailcheck' into develop

lowercase comparison emails
This commit is contained in:
Sander Roosendaal
2017-02-13 17:49:53 +01:00

View File

@@ -47,7 +47,7 @@ class Command(BaseCommand):
for a in attachments: for a in attachments:
donotdelete = 0 donotdelete = 0
m = Message.objects.get(id=a.message_id) m = Message.objects.get(id=a.message_id)
from_address = m.from_address[0] from_address = m.from_address[0].lower()
name = m.subject name = m.subject
cntr += 1 cntr += 1
# get a list of users # get a list of users