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.2.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.2.tar.gz.

File metadata

File hashes

Hashes for nonebot_plugin_botoffline_email-0.0.2.tar.gz
Algorithm Hash digest
SHA256 8ac8b29ef0c50c2a7d85b3cbd70996dd2047cdd14a2bcc23bce89dd35ddcf1de
MD5 21c7a28111b5230b242f74b9fbcd4d2c
BLAKE2b-256 bb223ac46f5fbb0b43dbbda9f350f106b8c312372e4877153e9feb3856cfc178

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for nonebot_plugin_botoffline_email-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 040654fa2b6715604a4f9a7a8cfe2b6a61646f9fab28ffc0cdab463e280dae79
MD5 88644f66e354f021333a798d1e021d7b
BLAKE2b-256 3070491cbd38f4c7ddac7f0379db6a05b5bcdc12629d827ac37babee6beb1422

See more details on using hashes here.

Provenance

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