Skip to content

Commit

Permalink
Don't use subtype alternative
Browse files Browse the repository at this point in the history
  • Loading branch information
eberloso committed Dec 22, 2017
1 parent 2035679 commit 83f637c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion poweremail_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,7 @@ def send_mail(self, cr, uid, ids, addresses, subject='', body=None, payload=None
serv = self.smtp_connection(cr, uid, id)
if serv:
try:
msg = MIMEMultipart(_subtype='alternative')
msg = MIMEMultipart()
for header, value in context.get('headers', {}).items():
msg.add_header(header, value)
if subject:
Expand Down

0 comments on commit 83f637c

Please sign in to comment.