Skip to main content

QQ Bot 掉线后使用 SMTP 发送邮件提醒

Project description

NoneBotPluginLogo

NoneBotPluginText

nonebot-plugin-botoffline-email

✨ QQ bot掉线后使用SMTP发送邮件提醒 ✨

license pypi python

📖 介绍

QQ bot掉线后使用SMTP发送邮件提醒,可自定义配置任意SMTP服务器以及接受邮箱

💿 安装

使用 nb-cli 安装 在 nonebot2 项目的根目录下打开命令行, 输入以下指令即可安装
nb plugin install nonebot-plugin-botoffline-email
使用包管理器安装 在 nonebot2 项目的插件目录下, 打开命令行, 根据你使用的包管理器, 输入相应的安装命令
pip
pip install nonebot-plugin-botoffline-email
pdm
pdm add nonebot-plugin-botoffline-email
poetry
poetry add nonebot-plugin-botoffline-email
conda
conda install nonebot-plugin-botoffline-email

打开 nonebot2 项目根目录下的 pyproject.toml 文件, 在 [tool.nonebot] 部分追加写入

plugins = ["nonebot-plugin-botoffline-email"]

⚙️ 配置

在 nonebot2 项目的.env文件中添加下表中的必填配置

配置项 必填 默认值 说明
smtp_host smtp的发送邮件服务器
smtp_port 587 smtp的发送邮件服务器端口
smtp_user smtp的发送邮箱
smtp_pass smtp的发送邮箱密码
email_from 发出邮箱
email_to 接收邮箱

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

nonebot_plugin_botoffline_email-0.0.1.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file nonebot_plugin_botoffline_email-0.0.1.tar.gz.

File metadata

File hashes

Hashes for nonebot_plugin_botoffline_email-0.0.1.tar.gz
Algorithm Hash digest
SHA256 16d18c8d3c95be6fd3d89517b7385bb7c9bf1a4c8bd57a35538b5d29c6f9b873
MD5 7fad3d87493bc5cccc3f29753da603ed
BLAKE2b-256 cef9841be5067654a21a4a9d0b82624e2f1b7f8f149cdf6dd62962c20952acf8

See more details on using hashes here.

Provenance

The following attestation bundles were made for nonebot_plugin_botoffline_email-0.0.1.tar.gz:

Publisher: pypi-publish.yml on QianQiuZy/nonebot-plugin-botoffline-email

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file nonebot_plugin_botoffline_email-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for nonebot_plugin_botoffline_email-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 89d3b6129a90f52b6af67aaddcbee3366180b33b915fe5f10115d4b45f3ddf2f
MD5 ad55c7583291da18c588e4c63aafc400
BLAKE2b-256 3210750f245e86af665c14992b9c028d6edaaf08bc4e99697a8a97f0e8a67208

See more details on using hashes here.

Provenance

The following attestation bundles were made for nonebot_plugin_botoffline_email-0.0.1-py3-none-any.whl:

Publisher: pypi-publish.yml on QianQiuZy/nonebot-plugin-botoffline-email

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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