Subversion Repositories SmartDukaan

Rev

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

Rev 7044 Rev 7126
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','amar.kumar@shop2020.in'
81
    recipients = ['rajneesh.arora@shop2020.in','rajveer.singh@shop2020.in','kshitij.sood@shop2020.in','amar.kumar@shop2020.in',
82
                  'chaitnaya.vats@shop2020.in','khushal.bhatia@shop2020.in','chandan.kumar@shop2020.in']
82
                  'chaitnaya.vats@shop2020.in','khushal.bhatia@shop2020.in','chandan.kumar@shop2020.in']
83
    msg['Subject'] = "Warehouse Inventory Monitor"
83
    msg['Subject'] = "Warehouse Inventory Monitor"
84
    msg['From'] = sender
84
    msg['From'] = sender
85
    msg['To'] = ", ".join(recipients)
85
    msg['To'] = ", ".join(recipients)
86
    
86