
Security News
npm Adopts OIDC for Trusted Publishing in CI/CD Workflows
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
nonebot-plugin-botoffline-email
Advanced tools
QQ bot掉线后使用SMTP发送邮件提醒,可自定义配置任意SMTP服务器以及接受邮箱
nb plugin install nonebot-plugin-botoffline-email
pip install nonebot-plugin-botoffline-email
pdm add nonebot-plugin-botoffline-email
poetry add nonebot-plugin-botoffline-email
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 | 是 | 无 | 接收邮箱 |
FAQs
QQ Bot 掉线后使用 SMTP 发送邮件提醒
We found that nonebot-plugin-botoffline-email demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
Research
/Security News
A RubyGems malware campaign used 60 malicious packages posing as automation tools to steal credentials from social media and marketing tool users.
Security News
The CNA Scorecard ranks CVE issuers by data completeness, revealing major gaps in patch info and software identifiers across thousands of vulnerabilities.