Subversion Repositories SmartDukaan

Rev

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

Rev 18382 Rev 18383
Line 1408... Line 1408...
1408
        generateAgentWiseOnboardingCallingReport()
1408
        generateAgentWiseOnboardingCallingReport()
1409
        sendmailretention(["manas.kapoor@shop2020.in"], "", TMP_FILE, SUBJECT)
1409
        sendmailretention(["manas.kapoor@shop2020.in"], "", TMP_FILE, SUBJECT)
1410
        sendmail(["amit.sirohi@shop2020.in","rajneesh.arora@saholic.com","ritesh.chauhan@shop2020.in", "shailesh.kumar@shop2020.in","utkarsh@coreoutsourcingservices.com","gupta.varun@coreoutsourcingservices.com","manas.kapoor@shop2020.in"], "", TMP_FILE, SUBJECT)
1410
        sendmail(["amit.sirohi@shop2020.in","rajneesh.arora@saholic.com","ritesh.chauhan@shop2020.in", "shailesh.kumar@shop2020.in","utkarsh@coreoutsourcingservices.com","gupta.varun@coreoutsourcingservices.com","manas.kapoor@shop2020.in"], "", TMP_FILE, SUBJECT)
1411
    if options.reporttype == 'retention':
1411
    if options.reporttype == 'retention':
1412
        generateAccessoriesCartReport()
1412
        generateAccessoriesCartReport()
1413
        sendmailretention(["manas.kapoor@shop2020.in"], "", RET_FILE, RET_SUBJECT)
1413
        #sendmailretention(["manas.kapoor@shop2020.in"], "", RET_FILE, RET_SUBJECT)
1414
        #sendmailretention(["amit.sirohi@shop2020.in","rajneesh.arora@saholic.com", "shailesh.kumar@shop2020.in","chaitnaya.vats@shop2020.in","manas.kapoor@shop2020.in"], "", RET_FILE, RET_SUBJECT)
1414
        sendmailretention(["amit.sirohi@shop2020.in","rajneesh.arora@saholic.com", "shailesh.kumar@shop2020.in","chaitnaya.vats@shop2020.in","manas.kapoor@shop2020.in"], "", RET_FILE, RET_SUBJECT)
1415
         
1415
         
1416
def sendmail(email, message, fileName, title):
1416
def sendmail(email, message, fileName, title):
1417
    if email == "":
1417
    if email == "":
1418
        return
1418
        return
1419
    mailServer = smtplib.SMTP(SMTP_SERVER, SMTP_PORT)
1419
    mailServer = smtplib.SMTP(SMTP_SERVER, SMTP_PORT)