Merge pull request #24 from EOCommunity/patch-3

real hotfix mailserver.py
This commit is contained in:
Christian Haschek 2021-04-07 00:27:53 +02:00 committed by GitHub
commit acece079d9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -89,7 +89,8 @@ class CustomSMTPServer(smtpd.SMTPServer):
filenamebase = str(int(round(time.time() * 1000)))
for em.lower() in rcpttos:
for em in rcpttos:
em = em.lower()
if not os.path.exists("../data/"+em):
os.mkdir( "../data/"+em, 0755 )