make it easy to use mail
Project description
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加密)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
mailx-0.0.7.tar.gz
(3.7 kB
view details)
Built Distribution
mailx-0.0.7-py3-none-any.whl
(4.2 kB
view details)
File details
Details for the file mailx-0.0.7.tar.gz
.
File metadata
- Download URL: mailx-0.0.7.tar.gz
- Upload date:
- Size: 3.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7b32cbb2dc9f2ddc5c4e3b8232a187904e0fdb2cf4432f61521dda3a7af48fc0 |
|
MD5 | ba6e39b68f89ca8bc9bad9a858662e17 |
|
BLAKE2b-256 | ec07a64fd646cba4309fdddd37efb5e7018ae9f8d45d378953f9aee37911727d |
File details
Details for the file mailx-0.0.7-py3-none-any.whl
.
File metadata
- Download URL: mailx-0.0.7-py3-none-any.whl
- Upload date:
- Size: 4.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5b7996e4acd67690d5cba82f7a380a212f2c97e84e0325087a498db8ddb7bfa8 |
|
MD5 | f4763944447b708c7936516454d1c82e |
|
BLAKE2b-256 | 900faf39bb01fbc9190f907a6a68173cc4b839873d081937185154fdad929ac8 |