Skip to main content

Tool send email via SMTP (with retry)

Project description

Simple Usage

from tkmail import Email

email = Email(
  host='smtp.gmail.com', 
  port=587, 
  use_tls=True,
  username='demo@gmail.com',
  password='hidden_password',
  to='anonymous@gmail.com',
  cc='somebody@gmail.com',
  bcc='another@gmail.com',
  subject='Demo sending email',
).html('<h1>Demo sending email</h1>').send().retry(times=5)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release. See tutorial on generating distribution archives.

Built Distribution

tkmail-4.1.0-py3-none-any.whl (2.8 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page