Skip to main content

simple-email

简易的发送邮件脚本,通过封装,可以发送带附件的邮件.

demo

1.填写邮箱配置
    host = 'xx.xx.xx.xx'
    port = 110
    user = ''
    pass_ = ''
2.填写邮件配置
    title = ''
    body = ''
    attachment = ['']
    sender = ''
    to = ['']
    cc = []
3.发送邮件
    s = SenEmail(host=host,port=port,user=user,pass_=pass_)

    s.send_email(title=title, body=body, attachment=attachment, sender=sender, to=to, cc=cc)

Metadata

Release files for simple-email 0.0.3

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

Source distribution (sdist)

Source distribution for simple-email 0.0.3
File Size Uploaded
simple_email-0.0.3.tar.gz 3.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for simple-email 0.0.3
File Interpreter ABI Platform
simple_email-0.0.3-py3-none-any.whl Python 3 none any Details

Total release size: 7.9 kB

Release files / simple_email-0.0.3.tar.gz

Download URL simple_email-0.0.3.tar.gz
Size 3.3 kB
Tags Source
SHA-256 checksum
How to use checksums
31da7cfec508ef3df2b61fd0c1f03ec19486eee7043d204eba7d1012a1046c16
BLAKE2b-256 checksum
How to use checksums
10c04ef25287fd060c36fa49c2d838a74e923b388b2357988db4b2646e817c9f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/39.1.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.7.7

Release files / simple_email-0.0.3-py3-none-any.whl

Download URL simple_email-0.0.3-py3-none-any.whl
Size 4.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2164a5bd2c51df613f4b5c6b9d3707a5516b9459e7aef4dfc92a957ee995d88e
BLAKE2b-256 checksum
How to use checksums
a8788a4222a962aede9b885c34973f759c82d4a37d1b360eededf277b7cbf1b6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/39.1.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.7.7

Release history Release notifications | RSS feed

0.0.4

2 release files

This release

0.0.3 This release

2 release files

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