Subversion Repositories SmartDukaan

Rev

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

Rev 7038 Rev 7044
Line 76... Line 76...
76
    msg = ''.join(MESSAGE)
76
    msg = ''.join(MESSAGE)
77
    smtpServer = smtplib.SMTP('localhost')
77
    smtpServer = smtplib.SMTP('localhost')
78
    smtpServer.set_debuglevel(1)
78
    smtpServer.set_debuglevel(1)
79
    msg = MIMEText(msg)
79
    msg = MIMEText(msg)
80
    sender = 'inventory-monitor@shop2020.in'
80
    sender = 'inventory-monitor@shop2020.in'
81
    recipients = ['rajneesh.arora@shop2020.in','rajveer.singh@shop2020.in','kshitij.sood@shop2020.in',
81
    recipients = ['rajneesh.arora@shop2020.in','rajveer.singh@shop2020.in','kshitij.sood@shop2020.in','amar.kumar@shop2020.in'
82
                  'vikram.raghav@shop2020.in','amar.kumar@shop2020.in','amit.gupta@shop2020.in',
82
                  'chaitnaya.vats@shop2020.in','khushal.bhatia@shop2020.in','chandan.kumar@shop2020.in']
83
                  'anupam.singh@shop2020.in','khushal.bhatia@shop2020.in','chandan.kumar@shop2020.in','sandeep.sachdeva@shop2020.in']
-
 
84
    msg['Subject'] = "Warehouse Inventory Monitor"
83
    msg['Subject'] = "Warehouse Inventory Monitor"
85
    msg['From'] = sender
84
    msg['From'] = sender
86
    msg['To'] = ", ".join(recipients)
85
    msg['To'] = ", ".join(recipients)
87
    
86
    
88
    try:
87
    try: