From 29e10c6a1551c6ef46b9146c2623a0f42565e0fe 2018-02-22 13:15:54 From: Lance Edgar Date: 2018-02-22 13:15:54 Subject: [PATCH] Add email attachment MIME type for MS Word .doc files --- diff --git a/rattail/mail.py b/rattail/mail.py index 25bad96f048cdbb60d266f32b7205212d503472f..e9e74b49bdb08fa75fa54b7b50f012100498ea2f 100644 --- a/rattail/mail.py +++ b/rattail/mail.py @@ -443,6 +443,7 @@ class Email(object): return normalized ATTACHMENT_MIME_MAP = { + '.doc': 'application/msword', '.pdf': 'pdf', '.xls': 'vnd.ms-excel', }