Send email with smtp setup
Project description
Tool send email via SMTP
Example code: subject = 'subject here' content = 'html content or plain content here' cc = 'cc here or None' bcc = 'bcc here or None'
from_addr = "send email from email" to_addr = 'send email to email'
email_obj = Email('smtp.gmail.com', 587, 'smtp login username', 'smtp login pwd') email_obj.send_mail(from_addr, to_addr, subject, content, cc, bcc)
No history
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
tkmail-0.1.2.tar.gz
(2.2 kB
view hashes)
Built Distribution
tkmail-0.1.2-py3-none-any.whl
(3.6 kB
view hashes)