Skip to main content

emailz

easy use for send emails

Install

pip install emailz

Simple Use

from emailz import email

email.config(user='ivan-me@163.com',password='***')
email.send(subject='Test', body='hi,\n,it's a test',receivers=['han_zhichao@sina.cn'])

Use HTML

email.send(subject='Test', html='<h2>hi,it's a test</h2>',receivers=['han_zhichao@sina.cn'])

Use Template file

email.send(subject='Test', template='tpl.html',receivers=['han_zhichao@sina.cn'])

With attachments

email.send(subject='Test', attachments=['tpl.html'],receivers=['han_zhichao@sina.cn'])

ToDo

  • Smtp Server mapping
  • @email decorators
  • trigger, crontab or more features
  • theme and templates to choose

Metadata

Release files for emailz 0.15

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for emailz 0.15
File Size Uploaded Provenance Actions
emailz-0.15.tar.gz 3.5 kB Without provenance Details for emailz-0.15.tar.gz

Release files / emailz-0.15.tar.gz

Download URL emailz-0.15.tar.gz
Size 3.5 kB
Tags Source
SHA-256 checksum
How to use checksums
ce45528cf51a7d1574de089af492aac27b5c35aad95c0b42d34a62d3112def08
BLAKE2b-256 checksum
How to use checksums
3df5fe38a59eadc6eed36d922707cfa891cb7bd4dccea7a5d185127a5b42f8d0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/46.0.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.7.7

Security for emailz 0.15

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.15 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page