Skip to main content

lhw-send-email

使用 pip install lhw-send-email 进行下载该库
本库是作者第一个自主发布的三方库

开发目的

为了完善自主开发的网站的验证码机制而做出的尝试

基本用法

  1. 安装:
pip install lhw-send-email
  1. 导入包
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)
  1. 参数解释
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: 附件的路径
  1. 具体用法
s.send()

关于bug反馈

  1. 前往作者 GitHub / Gitee 进行issues问题报告
  2. QQ邮箱联系
    1959415641@qq.com
    1987239025@qq.com
    fuyaoteam@gmail.com

关于贡献以及PR提交

如果您发现任何问题或者有更好的优化策略及建议,可以在PullRequest处进行请求, 如若审核通过,我们将采纳您的方案,并记录您的贡献

Metadata

Release files for lhw-send-email 0.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for lhw-send-email 0.1.3
File Size Uploaded
lhw-send-email-0.1.3.win-amd64.zip 7.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for lhw-send-email 0.1.3
File Interpreter ABI Platform
lhw_send_email-0.1.3-py3-none-any.whl Python 3 none any Details

Total release size: 12.6 kB

Release files / lhw-send-email-0.1.3.win-amd64.zip

Download URL lhw-send-email-0.1.3.win-amd64.zip
Size 7.8 kB
Tags Source
SHA-256 checksum
How to use checksums
91bc5618cf569bd629d34618194fbca0dff08acbb93edb9d4d333f8666ecb03b
BLAKE2b-256 checksum
How to use checksums
34230fe999188e31ae5ed16c2e701c3f6619971d610691e2769e5947559f048c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.10.7

Release files / lhw_send_email-0.1.3-py3-none-any.whl

Download URL lhw_send_email-0.1.3-py3-none-any.whl
Size 4.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
764f56726b0b465fe1f5d7fae5d17f24d3ef1a2c59b3622e48c7bda941b0a9bc
BLAKE2b-256 checksum
How to use checksums
b0acc93a6c757520b6f891b6545ab536aea09a5ef0010360af9a2f5d5d12fc97
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.10.7

Release history Release notifications | RSS feed

This release

0.1.3 This release

2 release files

0.1.0

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