mailx
介绍
快捷使用mail模块
软件架构
软件架构说明
安装教程
- pip安装
pip install mailx
- pip安装(使用阿里云镜像加速)
pip install mailx -i https://mirrors.aliyun.com/pypi/simple
使用说明
- demo
import mailx
res = mailx.send_text(sub='test sub', content='test content', to_addrs=['test@test.com'])
- 常用设置
- mail.env:
smtp_host={your smtp_host}
smtp_port={your smtp_port}
from_name={your from_name}
smtp_username={your smtp_username}
smtp_password={your_smtp_username}
to_addrs={your smtp_username, split by ","}
- SMTP服务端口号:25或80或465(SSL加密)
Metadata
Release files for mailx 0.0.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| mailx-0.0.7.tar.gz | 3.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| mailx-0.0.7-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.8 kB
Release files / mailx-0.0.7.tar.gz
| Download URL | mailx-0.0.7.tar.gz |
|---|---|
| Size | 3.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7b32cbb2dc9f2ddc5c4e3b8232a187904e0fdb2cf4432f61521dda3a7af48fc0
|
|
BLAKE2b-256 checksum How to use checksums |
ec07a64fd646cba4309fdddd37efb5e7018ae9f8d45d378953f9aee37911727d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.8.10
|
Release files / mailx-0.0.7-py3-none-any.whl
| Download URL | mailx-0.0.7-py3-none-any.whl |
|---|---|
| Size | 4.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5b7996e4acd67690d5cba82f7a380a212f2c97e84e0325087a498db8ddb7bfa8
|
|
BLAKE2b-256 checksum How to use checksums |
900faf39bb01fbc9190f907a6a68173cc4b839873d081937185154fdad929ac8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.8.10
|