开箱即用的邮件发送包
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
simple_email-0.0.3.tar.gz
(3.3 kB
view hashes)
Built Distribution
Close
Hashes for simple_email-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2164a5bd2c51df613f4b5c6b9d3707a5516b9459e7aef4dfc92a957ee995d88e |
|
MD5 | 964bae72171443bb9fb6f1c13d9a2cfe |
|
BLAKE2b-256 | a8788a4222a962aede9b885c34973f759c82d4a37d1b360eededf277b7cbf1b6 |