Subversion Repositories SmartDukaan

Rev

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

Rev 6781 Rev 6940
Line 27... Line 27...
27
to_addresses[1] = ["ajays@bluedart.com","ASingh2@bluedart.com","PraveenKumar@bluedart.com","ADhiran.EXCHNET@bluedart.com",
27
to_addresses[1] = ["ajays@bluedart.com","ASingh2@bluedart.com","PraveenKumar@bluedart.com","ADhiran.EXCHNET@bluedart.com",
28
                "DarpanS@bluedart.com","BijuS@bluedart.com","VijayK@bluedart.com","SonikaP@bluedart.com",
28
                "DarpanS@bluedart.com","BijuS@bluedart.com","VijayK@bluedart.com","SonikaP@bluedart.com",
29
                "sandeep.sachdeva@shop2020.in","manoj.kumar@shop2020.in"]
29
                "sandeep.sachdeva@shop2020.in","manoj.kumar@shop2020.in"]
30
to_addresses[3] = ["dispatch@delhivery.com", "bhavesh.manglani@delhivery.com", "milind.sharma@delhivery.com", 
30
to_addresses[3] = ["dispatch@delhivery.com", "bhavesh.manglani@delhivery.com", "milind.sharma@delhivery.com", 
31
                   "divya.jyoti@delhivery.com","sandeep.sachdeva@shop2020.in","manoj.kumar@shop2020.in"] 
31
                   "divya.jyoti@delhivery.com","sandeep.sachdeva@shop2020.in","manoj.kumar@shop2020.in"] 
-
 
32
to_addresses[6] = ["sandeep.sachdeva@shop2020.in","manoj.kumar@shop2020.in","pawan.batra@getsetred.net", "s.pathak@getsetred.net"] 
-
 
33
 
32
from_user = "cnc.center@shop2020.in"
34
from_user = "cnc.center@shop2020.in"
33
from_pwd = "5h0p2o2o"
35
from_pwd = "5h0p2o2o"
34
 
36
 
35
def send_report(providerId):
37
def send_report(providerId):
36
    filenames = []
38
    filenames = []
Line 72... Line 74...
72
    if len(args) != 0:
74
    if len(args) != 0:
73
        parser.error("You've supplied extra arguments. Are you sure you want to run this program?")
75
        parser.error("You've supplied extra arguments. Are you sure you want to run this program?")
74
    '''
76
    '''
75
    
77
    
76
     
78
     
77
    for i in (1,3):
79
    for i in (1,3,6):
78
        send_report(i)
80
        send_report(i)
79
 
81
 
80
if __name__ == '__main__':
82
if __name__ == '__main__':
81
    main()
83
    main()
82
84