1 Star 0 Fork 109

paste / MySQLMTOP

forked from 茹憶 / MySQLMTOP 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
test_send_mail.py 400 Bytes
一键复制 编辑 原始数据 按行查看 历史
ruzuojun 提交于 2017-07-28 15:36 . 代码目录结构重新调整和优化
#!/usr/bin/env python
# -*- coding: utf8 -*-
from datetime import *
import global_functions as func
mail_to_list = func.get_option('mail_to_list')
mailto_list=mail_to_list.split(';')
result = func.send_mail(mailto_list," I hope you can learn","Beautiful Day")
print result
if result:
send_mail_status = "success"
else:
send_mail_status = "fail"
print "send_mail_status:"+send_mail_status
Python
1
https://gitee.com/paste/MySQLMTOP.git
git@gitee.com:paste/MySQLMTOP.git
paste
MySQLMTOP
MySQLMTOP
master

搜索帮助