Subversion Repositories SmartDukaan

Rev

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

Rev 7233 Rev 7234
Line 51... Line 51...
51
def main():
51
def main():
52
    notify()
52
    notify()
53
 
53
 
54
def __send_mail(message):
54
def __send_mail(message):
55
    try:
55
    try:
56
        thread = threading.Thread(target=partial(mail, "cnc.center@shop2020.in", "5h0p2o2o", ["pramit.singh@shop2020.in", "khushal.bhatia@shop2020.in", "chandan.kumar@shop2020.in",  "chaitnaya.vats@shop2020.in", "amit.gupta@shop2020.in", "rajneesh.arora@shop2020.in", "rajveer.singh@shop2020.in"], 'Coupons Expiry Alert', message))
56
        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", "amit.gupta@shop2020.in", "rajneesh.arora@shop2020.in", "rajveer.singh@shop2020.in"], 'Coupons Expiry Alert', message))
57
        thread.start()
57
        thread.start()
58
    except Exception as ex:
58
    except Exception as ex:
59
        print ex    
59
        print ex    
60
 
60
 
61
if __name__ == '__main__':
61
if __name__ == '__main__':