Skip to main content

email helper for simple send email and receive email of python

Project description


only support python3



$ pip install email-helper


from email_helper.email_sender import EmailSender

# 实例化
email = EmailSender(from_addr="", password="xxx")

# 设置标题

# 添加正文

# 添加收件人

# 发送


from email_helper.email_receiver import EmailReceiver

# 实例化
client = EmailReceiver(email="", password="xxx")

# 接收最后一封邮件
email = client.get_last_email()

# 打印邮件信息
for k, v in email.items():
    print(k , v)

From  <>
To  <>
Subject 这是邮件标题
text ['这是邮件的文本']
attachment []

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 email-helper, version 0.0.4
Filename, size File type Python version Upload date Hashes
Filename, size email_helper-0.0.4-py3-none-any.whl (7.1 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size email_helper-0.0.4.tar.gz (4.8 kB) File type Source Python version None Upload date Hashes View

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 Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page