Subversion Repositories SmartDukaan

Rev

Rev 7746 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 7746 Rev 7757
Line 60... Line 60...
60
def main():
60
def main():
61
    notify()
61
    notify()
62
 
62
 
63
def __send_mail(message):
63
def __send_mail(message):
64
    try:
64
    try:
65
        thread = threading.Thread(target=partial(mail_html, "cnc.center@shop2020.in", "5h0p2o2o", ["amit.gupta@shop2020.in"], 'Coupons Expiry Alert', message))
65
        thread = threading.Thread(target=partial(mail_html, "cnc.center@shop2020.in", "5h0p2o2o", ["pramit.singh@shop2020.in", "khushal.bhatia@shop2020.in", "chandan.kumar@shop2020.in",  "chaitnaya.vats@shop2020.in", "rajneesh.arora@shop2020.in", "amit.sirohi@shop2020.in"], 'Coupons Expiry Alert', message))
66
        thread.start()
66
        thread.start()
67
    except Exception as ex:
67
    except Exception as ex:
68
        print ex    
68
        print ex    
69
 
69
 
70
if __name__ == '__main__':
70
if __name__ == '__main__':