Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
warsaw committed Apr 14, 2022
1 parent e2d4aa6 commit 6bb9ffe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Doc/includes/email-mime.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
with open(file, 'rb') as fp:
img_data = fp.read()
msg.add_attachment(img_data, maintype='image',
subtype='jpeg')
subtype='png')

# Send the email via our own SMTP server.
with smtplib.SMTP('localhost') as s:
Expand Down

0 comments on commit 6bb9ffe

Please sign in to comment.