Skip to main content

mailx

介绍

快捷使用mail模块

软件架构

软件架构说明

安装教程

  1. pip安装
pip install mailx
  1. pip安装(使用阿里云镜像加速)
pip install mailx -i https://mirrors.aliyun.com/pypi/simple

使用说明

  1. demo
import mailx
res = mailx.send_text(sub='test sub', content='test content', to_addrs=['test@test.com'])
  1. 常用设置
  • 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)

Source distribution for mailx 0.0.7
File Size Uploaded
mailx-0.0.7.tar.gz 3.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for mailx 0.0.7
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

0.0.7 This release

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page