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.4.tar.gz (4.6 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.4.tar.gz.

File metadata

File hashes

Hashes for nonebot_plugin_botoffline_email-0.0.4.tar.gz
Algorithm Hash digest
SHA256 126f417f58f32f238c38963638e9d97d8716838f81c6e1daec27870681abab49
MD5 5f271b2a8b7bf64ee02ac88a1fe9e236
BLAKE2b-256 7c87a39524474dcb4f317884538c2f93a3d9d2f6bd8595d0dc9f9d57df1cfc50

See more details on using hashes here.

Provenance

The following attestation bundles were made for nonebot_plugin_botoffline_email-0.0.4.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.4-py3-none-any.whl.

File metadata

File hashes

Hashes for nonebot_plugin_botoffline_email-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 0acf07d1242977507955b568edcd994dc3d481e989bd8e5cb93d5799f4f0bae0
MD5 59bc355ad4b3a123a7cefe02dd072e54
BLAKE2b-256 3fdf3747cf6dcf5f0a11f6423e92c4b3296c4ea788ab7c3dce75d08ff63385c4

See more details on using hashes here.

Provenance

The following attestation bundles were made for nonebot_plugin_botoffline_email-0.0.4-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