用smtplib抽象电子邮件发送的简单库。
easyemail的Python项目详细描述
使用smtplib创建和发送电子邮件的小型库。这是工作区 进度,请勿用于生产。
警告
从0.3及更高版本开始,我不再支持 图书馆。现在您需要在您的一侧呈现html/text并使用attach_text。
安装
使用pip安装:
$ pip install easyemail
测试
要运行测试,您需要不包括的mako和jinja2库 在正常设置的要求中。
您可以这样运行测试:
$ python setup.py test
贡献
easyemail是一个开源软件,你的贡献非常大 很感激。
- 检查 未决问题https://github.com/niktto/easyemail/issues或 打开新问题https://github.com/niktto/easyemail/issues/new 开始讨论一个特性想法或一个bug。
- 叉 github上的存储库https://github.com/niktto/easyemail 做些改变。
- 遵循以下规则:PEP8、PEP257和 Python禅。
- 确保将自己添加到作者中并发送请求。
许可证
easyemail在新的bsd许可下可用。见 许可证https://github.com/niktto/easyemail/blob/master/LICENSE 文件。