Merge branch 'master' of bitbucket.org:panleicim/appointment_tool
This commit is contained in:
@@ -78,6 +78,7 @@ class MailConfirmationReader():
|
||||
body = body + str(part.get_payload(decode=True).decode("utf-8"))
|
||||
elif part.get_content_type() == "text/plain":
|
||||
body = body + part.get_payload()
|
||||
print("mail is {} and subject is {}".format(self.login, subject))
|
||||
if CONFIRMATION_SUBJECT_FR in subject or CONFIRMATION_SUBJECT_EN in subject or "Votre_rendez-vous_est_confirm" in subject:
|
||||
mail = MailPojo(subject=subject, body=body, from_address=from_address)
|
||||
mail.isImapClient = True
|
||||
|
||||
Reference in New Issue
Block a user