Skip to main content

simple-email

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

demo

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

## 接收邮件正文,附件,邮件头.
    se_server = SenEmail(host=host,port=port,user=user,pass_=pass_)
    class AB(GetEmail):
        def run():
            '重写run()方法'

Release files for simple-email 0.0.4

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.4
File Size Uploaded
simple_email-0.0.4.tar.gz 4.2 kB Details

Built distribution (wheel)

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

Total release size: 9.6 kB

Release files / simple_email-0.0.4.tar.gz

Download URL simple_email-0.0.4.tar.gz
Size 4.2 kB
Tags Source
SHA-256 checksum
How to use checksums
41cc229449da48199dea2c3add289013e077ceb86762b711e9b1747144f3ae68
BLAKE2b-256 checksum
How to use checksums
42e6309701c981e1cbd0adc5418f1ed52a35af98f779f98cfec3f3f0f53f3fc0
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.4-py3-none-any.whl

Download URL simple_email-0.0.4-py3-none-any.whl
Size 5.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
aeb8fe77769cd961c9ca5572aebfd0cccef3885a6ec7afac10def8e7f40e35d9
BLAKE2b-256 checksum
How to use checksums
876832fdee20cab7f13bc5116b6b97a2b38c684286e1d35c1c095dbbe64262f4
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

This release

0.0.4 This release

2 release files

0.0.3

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