# galarm
一个报警合集,有以下模块
- EmailSender:邮件发送
# EmailSender
有以下参数
- receiver:接收者(可以是列表)
- content_text:邮件内容
- content_html:邮件内容(html 形式)
- files:文件路径(可以是列表)
【示例】
```
sender = EmailSender(user='xxx', pwd='xxx')
sender.send(receiver='', content_text='这是一封测试邮件')
```
Raw data
{
"_id": null,
"home_page": "https://github.com/Leviathangk/galarm",
"name": "galarm",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "email",
"author": "\u90ed\u4e00\u4f1a\u513f",
"author_email": "1015295213@qq.com",
"download_url": "https://files.pythonhosted.org/packages/75/42/de457c1c370696d16566c805cb627a4ba30e5b65166c41b3d5bbd23ff2dc/galarm-0.0.1.tar.gz",
"platform": "any",
"description": "# galarm\r\n\r\n\u4e00\u4e2a\u62a5\u8b66\u5408\u96c6\uff0c\u6709\u4ee5\u4e0b\u6a21\u5757\r\n\r\n- EmailSender\uff1a\u90ae\u4ef6\u53d1\u9001\r\n\r\n# EmailSender\r\n\r\n\u6709\u4ee5\u4e0b\u53c2\u6570\r\n\r\n- receiver\uff1a\u63a5\u6536\u8005\uff08\u53ef\u4ee5\u662f\u5217\u8868\uff09\r\n- content_text\uff1a\u90ae\u4ef6\u5185\u5bb9\r\n- content_html\uff1a\u90ae\u4ef6\u5185\u5bb9\uff08html \u5f62\u5f0f\uff09\r\n- files\uff1a\u6587\u4ef6\u8def\u5f84\uff08\u53ef\u4ee5\u662f\u5217\u8868\uff09\r\n\r\n\u3010\u793a\u4f8b\u3011\r\n\r\n```\r\nsender = EmailSender(user='xxx', pwd='xxx')\r\nsender.send(receiver='', content_text='\u8fd9\u662f\u4e00\u5c01\u6d4b\u8bd5\u90ae\u4ef6')\r\n```\r\n",
"bugtrack_url": null,
"license": "MIT Licence",
"summary": "\u4e00\u4e2a\u62a5\u8b66\u5408\u96c6",
"version": "0.0.1",
"split_keywords": [
"email"
],
"urls": [
{
"comment_text": "",
"digests": {
"md5": "eefc3645f0a2ab1efd318dd978ef3b52",
"sha256": "e208ff5a3c5646aa893fd6e879db6813a0c5c7f5fa017ed4a528a1d9bd9d21c6"
},
"downloads": -1,
"filename": "galarm-0.0.1.tar.gz",
"has_sig": false,
"md5_digest": "eefc3645f0a2ab1efd318dd978ef3b52",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 2554,
"upload_time": "2022-12-15T02:15:45",
"upload_time_iso_8601": "2022-12-15T02:15:45.323593Z",
"url": "https://files.pythonhosted.org/packages/75/42/de457c1c370696d16566c805cb627a4ba30e5b65166c41b3d5bbd23ff2dc/galarm-0.0.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2022-12-15 02:15:45",
"github": true,
"gitlab": false,
"bitbucket": false,
"github_user": "Leviathangk",
"github_project": "galarm",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "galarm"
}