Socket
Book a DemoInstallSign in
Socket

nonebot-plugin-botoffline-email

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nonebot-plugin-botoffline-email

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

0.0.4
pipPyPI
Maintainers
1
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_hostsmtp的发送邮件服务器
smtp_port587smtp的发送邮件服务器端口
smtp_usersmtp的发送邮箱
smtp_passsmtp的发送邮箱密码
email_from发出邮箱
email_to接收邮箱

Keywords

nonebot

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.