4 Star 25 Fork 544

zhiyoucai / Lepus

forked from 茹憶 / Lepus 
Create your Gitee Account
Explore and code with more than 6 million developers,Free private repositories !:)
Sign up
This repository doesn't specify license. Without author's permission, this code is only for learning and cannot be used for other purposes.
Clone or download
test_send_mail.py 432 Bytes
Copy Edit Web IDE Raw Blame History
#!/usr/bin/env python
# -*- coding: utf8 -*-
import sys
path='./include'
sys.path.insert(0,path)
import include.functions as func
send_mail_to_list = func.get_option('send_mail_to_list')
mailto_list=send_mail_to_list.split(';')
result = func.send_mail(mailto_list, "no reply","Beautiful Day")
if result:
send_mail_status = "success"
else:
send_mail_status = "fail"
print ("send_mail_status: {}".format(send_mail_status))

Comment ( 0 )

Sign in for post a comment

Python
1
https://gitee.com/zhiyoucai/Lepus.git
git@gitee.com:zhiyoucai/Lepus.git
zhiyoucai
Lepus
Lepus
master

Search