Subversion Repositories SmartDukaan

Rev

Rev 20172 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 20172 Rev 20431
Line 1971... Line 1971...
1971
        generateFollowUpCallingReport()
1971
        generateFollowUpCallingReport()
1972
        generateAgentWiseFollowupCallingReport()
1972
        generateAgentWiseFollowupCallingReport()
1973
        generateOnBoardingCallingReport()
1973
        generateOnBoardingCallingReport()
1974
        generateAgentWiseOnboardingCallingReport()
1974
        generateAgentWiseOnboardingCallingReport()
1975
#         sendmail(["rajender.singh@shop2020.in"], "", TMP_FILE, SUBJECT)
1975
#         sendmail(["rajender.singh@shop2020.in"], "", TMP_FILE, SUBJECT)
1976
        sendmail(["amit.sirohi@shop2020.in","rajneesh.arora@saholic.com","khushal.bhatia@saholic.com","ritesh.chauhan@shop2020.in", "shailesh.kumar@shop2020.in","utkarsh@coreoutsourcingservices.com","gupta.varun@coreoutsourcingservices.com","rajender.singh@shop2020.in"], "", TMP_FILE, SUBJECT)
1976
        sendmail(["rajneesh.arora@saholic.com","khushal.bhatia@saholic.com","ritesh.chauhan@shop2020.in", "shailesh.kumar@shop2020.in", "amit.gupta@shop2020.in"], "", TMP_FILE, SUBJECT)
1977
    if options.reporttype == 'retention':
1977
    if options.reporttype == 'retention':
1978
#         generateAccessoriesCartReport()
1978
#         generateAccessoriesCartReport()
1979
#         generateAccessoriesTabsReport()
1979
#         generateAccessoriesTabsReport()
1980
#         generateAccessoriesOrderReport()
1980
#         generateAccessoriesOrderReport()
1981
        generateInactiveUsersReport()
1981
        generateInactiveUsersReport()
1982
#         sendmailretention(["rajender.singh@shop2020.in"], "", RET_FILE, RET_SUBJECT)
1982
#         sendmailretention(["rajender.singh@shop2020.in"], "", RET_FILE, RET_SUBJECT)
1983
        sendmailretention(["amit.sirohi@shop2020.in","rajneesh.arora@saholic.com", "khushal.bhatia@saholic.com", "shailesh.kumar@shop2020.in","chaitnaya.vats@shop2020.in","rajender.singh@shop2020.in"], "", RET_FILE, RET_SUBJECT)
1983
        sendmailretention(["rajneesh.arora@saholic.com", "khushal.bhatia@saholic.com", "ritesh.chauhan@shop2020.in", "shailesh.kumar@shop2020.in","amit.gupta@shop2020.in"], "", RET_FILE, RET_SUBJECT)
1984
         
1984
         
1985
def sendmail(email, message, fileName, title):
1985
def sendmail(email, message, fileName, title):
1986
    if email == "":
1986
    if email == "":
1987
        return
1987
        return
1988
    mailServer = smtplib.SMTP(SMTP_SERVER, SMTP_PORT)
1988
    mailServer = smtplib.SMTP(SMTP_SERVER, SMTP_PORT)