Skip to main content

开箱即用的邮件发送包

Project description

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)

Project details


Download files

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

Files for simple-email, version 0.0.3
Filename, size File type Python version Upload date Hashes
Filename, size simple_email-0.0.3-py3-none-any.whl (4.5 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size simple_email-0.0.3.tar.gz (3.3 kB) File type Source Python version None Upload date Hashes View

Supported by

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