Subversion Repositories SmartDukaan

Rev

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

Rev 6928 Rev 6972
Line 73... Line 73...
73
    msg = ''.join(MESSAGE)
73
    msg = ''.join(MESSAGE)
74
    smtpServer = smtplib.SMTP('localhost')
74
    smtpServer = smtplib.SMTP('localhost')
75
    smtpServer.set_debuglevel(1)
75
    smtpServer.set_debuglevel(1)
76
    msg = MIMEText(msg)
76
    msg = MIMEText(msg)
77
    sender = 'inventory-monitor@shop2020.in'
77
    sender = 'inventory-monitor@shop2020.in'
78
    recipients = ['kshitij.sood@shop2020.in', 'amar.kumar@shop2020.in']
78
    recipients = ['eng@shop2020.in', 'rajneesh.arora@shop2020.in']
79
    msg['Subject'] = "Warehouse Inventory Monitor"
79
    msg['Subject'] = "Warehouse Inventory Monitor"
80
    msg['From'] = sender
80
    msg['From'] = sender
81
    msg['To'] = ", ".join(recipients)
81
    msg['To'] = ", ".join(recipients)
82
    
82
    
83
    try:
83
    try: