No project description provided
Project description
lhw-send-email
使用 pip install lhw-send-email 进行下载该库
本库是作者第一个自主发布的三方库
开发目的
为了完善自主开发的网站的验证码机制而做出的尝试
基本用法
- 安装:
pip install lhw-send-email
- 导入包
import lhw_send_email as lse
# 发送邮件功能(使用附件功能)
s = lse.SendEmail(fromEmailAddress=fromEmailAddress, password=password,
destination=destination, subject=subject,
content=content, isAtt=True, att_paths=att_paths)
- 参数解释
SendEmail:
fromEmailAddress: 格式 "Name <example@qq.com>" <>中是邮件服务器(地址)-也可以是qq邮箱地址
password: 邮箱授权码
destination: 格式 "example@qq.com" 邮箱地址,不一定为qq邮箱
content: 内容
subject: 邮件标题
api: 邮件服务器地址(默认为smtp.qq.com)
isAtt: 是否携带附件(默认False,如果为True,则需要更改att_paths参数的内容)
att_paths: 附件的路径
- 具体用法
s.send()
关于bug反馈
- 前往作者 GitHub / Gitee 进行issues问题报告
- QQ邮箱联系
1959415641@qq.com
1987239025@qq.com
fuyaoteam@gmail.com
关于贡献以及PR提交
如果您发现任何问题或者有更好的优化策略及建议,可以在PullRequest处进行请求, 如若审核通过,我们将采纳您的方案,并记录您的贡献
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file lhw-send-email-0.1.3.win-amd64.zip.
File metadata
- Download URL: lhw-send-email-0.1.3.win-amd64.zip
- Upload date:
- Size: 7.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
91bc5618cf569bd629d34618194fbca0dff08acbb93edb9d4d333f8666ecb03b
|
|
| MD5 |
4dfa10767c357eeec6b6f9e9df0ab04d
|
|
| BLAKE2b-256 |
34230fe999188e31ae5ed16c2e701c3f6619971d610691e2769e5947559f048c
|
File details
Details for the file lhw_send_email-0.1.3-py3-none-any.whl.
File metadata
- Download URL: lhw_send_email-0.1.3-py3-none-any.whl
- Upload date:
- Size: 4.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
764f56726b0b465fe1f5d7fae5d17f24d3ef1a2c59b3622e48c7bda941b0a9bc
|
|
| MD5 |
fe4df3828ba73c101087a09376dfff6b
|
|
| BLAKE2b-256 |
b0acc93a6c757520b6f891b6545ab536aea09a5ef0010360af9a2f5d5d12fc97
|