README fix

This commit is contained in:
Sergey Lavrinenko 2015-10-15 14:12:57 +03:00
parent b0717cef42
commit b565bb42d2
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ Build message:
>>> message = emails.html(html="<p>Hi!<br>Here is your receipt...",
subject="Your receipt No. 567098123",
mail_from=('Some Store', 'store@somestore.com'))
>>> message.attach(data=open('bill.pdf'), filename='bill.pdf')
>>> message.attach(data=open('bill.pdf', 'rb'), filename='bill.pdf')
send message and get response from smtp server: