Skip to main content

make it easy to use mail

Project description

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加密)

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.5.tar.gz (3.6 kB view hashes)

Uploaded Source

Built Distribution

mailx-0.0.5-py3-none-any.whl (4.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page