README fix
This commit is contained in:
parent
b0717cef42
commit
b565bb42d2
|
@ -11,7 +11,7 @@ Build message:
|
||||||
>>> message = emails.html(html="<p>Hi!<br>Here is your receipt...",
|
>>> message = emails.html(html="<p>Hi!<br>Here is your receipt...",
|
||||||
subject="Your receipt No. 567098123",
|
subject="Your receipt No. 567098123",
|
||||||
mail_from=('Some Store', 'store@somestore.com'))
|
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:
|
send message and get response from smtp server:
|
||||||
|
|
||||||
|
|
Reference in New Issue