Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- attachment = 'sidney.jpg'
- msg.attach(MIMEText('<html><body><h1>TESTANDO</h1>' +
- '<p><img src="sidney.jpg"></p>' +
- '</body></html>', 'html', 'utf-8'))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement