def send_all_sm(self, count): email = WriteEmail('', '', filename='./email_msg/price_iss.txt') email.send(count, em_user, pwd, address, smtp_server, '价格涨幅问题') email.send_sm_price(phone_python) email.del_email()
def send_all_email(self, count): email = WriteEmail('', '') email.send(count, em_user, pwd, address, smtp_server, 'k线') email.send_sm(phone_java) email.del_email()
def send_email(self, count): email = WriteEmail('', '', filename='./email_msg/fxh_api.txt') email.send(count, em_user, pwd, address, smtp_server, '飞小号接口') email.send_fxh_sm(phone=phone) email.del_email()
def send_all_email(self, count): email = WriteEmail('', '', filename='./email_msg/warn_api.txt') email.send(count, em_user, pwd, address, smtp_server, 'api接口') email.del_email()
def send_email(self, count, phone): email = WriteEmail('', '', filename='./email_msg/market_all_depth.txt') email.send(count, em_user, pwd, address, smtp_server, '全站市场深度价格') email.send_depth_all_sm(phone=phone) email.del_email()