I receive an empty message, sending from python and smtplib
<p>I want send a email fom python, i read my file (myfile) but i receive one email empty... which it is my mistake ? Thanks very much community !</p>

<p>My code:</p>

<pre><code>f1 = open('myfile') 
print(f1.read())

fromaddr = 'chucknorris@gmail.com'
toaddrs  = 'brucelee@icloud.com'
msg = "\r\n".join([
"From:" + fromaddr,
"To:" + toaddrs,
"Subject: Message from SB",
"",
str(f1.read())
])
username = 'chucknorris@gmail.com'
password = 'ChuckImmortal'
server = smtplib.SMTP('smtp.gmail.com:587')
server.ehlo()
server.starttls()
server.login(username,password)
server.sendmail(fromaddr, toaddrs, msg)
server.quit()
</code></pre>