nonebot-plugin-botoffline-email


Namenonebot-plugin-botoffline-email JSON
Version 0.0.3 PyPI version JSON
download
home_pageNone
SummaryQQ Bot 掉线后使用 SMTP 发送邮件提醒
upload_time2025-08-01 15:02:10
maintainerNone
docs_urlNone
author千秋紫莹
requires_python<4.0,>=3.9
licenseNone
keywords nonebot nonebot2 plugin botoffline smtp email
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            <div align="center">
  <a href="https://v2.nonebot.dev/store"><img src="https://github.com/A-kirami/nonebot-plugin-template/blob/resources/nbp_logo.png" width="180" height="180" alt="NoneBotPluginLogo"></a>
  <br>
  <p><img src="https://github.com/A-kirami/nonebot-plugin-template/blob/resources/NoneBotPlugin.svg" width="240" alt="NoneBotPluginText"></p>
</div>

<div align="center">

# nonebot-plugin-botoffline-email

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


<a href="./LICENSE">
    <img src="https://img.shields.io/github/license/owner/nonebot-plugin-botoffline-email.svg" alt="license">
</a>
<a href="https://pypi.python.org/pypi/nonebot-plugin-botoffline-email">
    <img src="https://img.shields.io/pypi/v/nonebot-plugin-botoffline-email.svg" alt="pypi">
</a>
<img src="https://img.shields.io/badge/python-3.9+-blue.svg" alt="python">

</div>

## 📖 介绍

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

## 💿 安装

<details open>
<summary>使用 nb-cli 安装</summary>
在 nonebot2 项目的根目录下打开命令行, 输入以下指令即可安装

    nb plugin install nonebot-plugin-botoffline-email

</details>

<details>
<summary>使用包管理器安装</summary>
在 nonebot2 项目的插件目录下, 打开命令行, 根据你使用的包管理器, 输入相应的安装命令

<details>
<summary>pip</summary>

    pip install nonebot-plugin-botoffline-email
</details>
<details>
<summary>pdm</summary>

    pdm add nonebot-plugin-botoffline-email
</details>
<details>
<summary>poetry</summary>

    poetry add nonebot-plugin-botoffline-email
</details>
<details>
<summary>conda</summary>

    conda install nonebot-plugin-botoffline-email
</details>

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

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

</details>

## ⚙️ 配置

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

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


            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "nonebot-plugin-botoffline-email",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "<4.0,>=3.9",
    "maintainer_email": null,
    "keywords": "nonebot, nonebot2, plugin, botoffline, smtp, email",
    "author": "\u5343\u79cb\u7d2b\u83b9",
    "author_email": "qianqiuzy@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/e3/c6/22ed971170c208735deb5227b7a2f981ff314367bfa7d22fcb2820ef5b86/nonebot_plugin_botoffline_email-0.0.3.tar.gz",
    "platform": null,
    "description": "<div align=\"center\">\n  <a href=\"https://v2.nonebot.dev/store\"><img src=\"https://github.com/A-kirami/nonebot-plugin-template/blob/resources/nbp_logo.png\" width=\"180\" height=\"180\" alt=\"NoneBotPluginLogo\"></a>\n  <br>\n  <p><img src=\"https://github.com/A-kirami/nonebot-plugin-template/blob/resources/NoneBotPlugin.svg\" width=\"240\" alt=\"NoneBotPluginText\"></p>\n</div>\n\n<div align=\"center\">\n\n# nonebot-plugin-botoffline-email\n\n_\u2728 QQ bot\u6389\u7ebf\u540e\u4f7f\u7528SMTP\u53d1\u9001\u90ae\u4ef6\u63d0\u9192 \u2728_\n\n\n<a href=\"./LICENSE\">\n    <img src=\"https://img.shields.io/github/license/owner/nonebot-plugin-botoffline-email.svg\" alt=\"license\">\n</a>\n<a href=\"https://pypi.python.org/pypi/nonebot-plugin-botoffline-email\">\n    <img src=\"https://img.shields.io/pypi/v/nonebot-plugin-botoffline-email.svg\" alt=\"pypi\">\n</a>\n<img src=\"https://img.shields.io/badge/python-3.9+-blue.svg\" alt=\"python\">\n\n</div>\n\n## \ud83d\udcd6 \u4ecb\u7ecd\n\nQQ bot\u6389\u7ebf\u540e\u4f7f\u7528SMTP\u53d1\u9001\u90ae\u4ef6\u63d0\u9192\uff0c\u53ef\u81ea\u5b9a\u4e49\u914d\u7f6e\u4efb\u610fSMTP\u670d\u52a1\u5668\u4ee5\u53ca\u63a5\u53d7\u90ae\u7bb1\n\n## \ud83d\udcbf \u5b89\u88c5\n\n<details open>\n<summary>\u4f7f\u7528 nb-cli \u5b89\u88c5</summary>\n\u5728 nonebot2 \u9879\u76ee\u7684\u6839\u76ee\u5f55\u4e0b\u6253\u5f00\u547d\u4ee4\u884c, \u8f93\u5165\u4ee5\u4e0b\u6307\u4ee4\u5373\u53ef\u5b89\u88c5\n\n    nb plugin install nonebot-plugin-botoffline-email\n\n</details>\n\n<details>\n<summary>\u4f7f\u7528\u5305\u7ba1\u7406\u5668\u5b89\u88c5</summary>\n\u5728 nonebot2 \u9879\u76ee\u7684\u63d2\u4ef6\u76ee\u5f55\u4e0b, \u6253\u5f00\u547d\u4ee4\u884c, \u6839\u636e\u4f60\u4f7f\u7528\u7684\u5305\u7ba1\u7406\u5668, \u8f93\u5165\u76f8\u5e94\u7684\u5b89\u88c5\u547d\u4ee4\n\n<details>\n<summary>pip</summary>\n\n    pip install nonebot-plugin-botoffline-email\n</details>\n<details>\n<summary>pdm</summary>\n\n    pdm add nonebot-plugin-botoffline-email\n</details>\n<details>\n<summary>poetry</summary>\n\n    poetry add nonebot-plugin-botoffline-email\n</details>\n<details>\n<summary>conda</summary>\n\n    conda install nonebot-plugin-botoffline-email\n</details>\n\n\u6253\u5f00 nonebot2 \u9879\u76ee\u6839\u76ee\u5f55\u4e0b\u7684 `pyproject.toml` \u6587\u4ef6, \u5728 `[tool.nonebot]` \u90e8\u5206\u8ffd\u52a0\u5199\u5165\n\n    plugins = [\"nonebot-plugin-botoffline-email\"]\n\n</details>\n\n## \u2699\ufe0f \u914d\u7f6e\n\n\u5728 nonebot2 \u9879\u76ee\u7684`.env`\u6587\u4ef6\u4e2d\u6dfb\u52a0\u4e0b\u8868\u4e2d\u7684\u5fc5\u586b\u914d\u7f6e\n\n| \u914d\u7f6e\u9879 | \u5fc5\u586b | \u9ed8\u8ba4\u503c | \u8bf4\u660e |\n|:-----:|:----:|:----:|:----:|\n| smtp_host | \u662f | \u65e0 | smtp\u7684\u53d1\u9001\u90ae\u4ef6\u670d\u52a1\u5668 |\n| smtp_port | \u5426 | 587 | smtp\u7684\u53d1\u9001\u90ae\u4ef6\u670d\u52a1\u5668\u7aef\u53e3 |\n| smtp_user | \u662f | \u65e0 | smtp\u7684\u53d1\u9001\u90ae\u7bb1 |\n| smtp_pass | \u662f | \u65e0 | smtp\u7684\u53d1\u9001\u90ae\u7bb1\u5bc6\u7801 |\n| email_from | \u662f | \u65e0 | \u53d1\u51fa\u90ae\u7bb1 |\n| email_to | \u662f | \u65e0 | \u63a5\u6536\u90ae\u7bb1 |\n\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "QQ Bot \u6389\u7ebf\u540e\u4f7f\u7528 SMTP \u53d1\u9001\u90ae\u4ef6\u63d0\u9192",
    "version": "0.0.3",
    "project_urls": {
        "Repository": "https://github.com/qianqiuzy/nonebot-plugin-botoffline-email"
    },
    "split_keywords": [
        "nonebot",
        " nonebot2",
        " plugin",
        " botoffline",
        " smtp",
        " email"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "42017b8151ea747bec5e9c2e62318380f68091bcbc197c3199f87f433dc5b477",
                "md5": "42719acef024659d656beb274f8f308e",
                "sha256": "d4bf70b1a81f91663e0075127e47190356320a3245d1154f410ff9d02f8b1b79"
            },
            "downloads": -1,
            "filename": "nonebot_plugin_botoffline_email-0.0.3-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "42719acef024659d656beb274f8f308e",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4.0,>=3.9",
            "size": 5848,
            "upload_time": "2025-08-01T15:02:09",
            "upload_time_iso_8601": "2025-08-01T15:02:09.189357Z",
            "url": "https://files.pythonhosted.org/packages/42/01/7b8151ea747bec5e9c2e62318380f68091bcbc197c3199f87f433dc5b477/nonebot_plugin_botoffline_email-0.0.3-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "e3c622ed971170c208735deb5227b7a2f981ff314367bfa7d22fcb2820ef5b86",
                "md5": "4a862c74e7a232e8ae7d347f0bfc1bc9",
                "sha256": "6aa2f4e5ad93c5fd466a70b6befd4102646d387b464c8e6ffbcac64cfb21d85e"
            },
            "downloads": -1,
            "filename": "nonebot_plugin_botoffline_email-0.0.3.tar.gz",
            "has_sig": false,
            "md5_digest": "4a862c74e7a232e8ae7d347f0bfc1bc9",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4.0,>=3.9",
            "size": 4567,
            "upload_time": "2025-08-01T15:02:10",
            "upload_time_iso_8601": "2025-08-01T15:02:10.495619Z",
            "url": "https://files.pythonhosted.org/packages/e3/c6/22ed971170c208735deb5227b7a2f981ff314367bfa7d22fcb2820ef5b86/nonebot_plugin_botoffline_email-0.0.3.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-08-01 15:02:10",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "qianqiuzy",
    "github_project": "nonebot-plugin-botoffline-email",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "nonebot-plugin-botoffline-email"
}
        
Elapsed time: 3.76448s