Subversion Repositories SmartDukaan

Rev

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

Rev 7126 Rev 7457
Line 77... Line 77...
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','manoj.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
    
87
    try:
87
    try: