Subversion Repositories SmartDukaan

Rev

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

Rev 18251 Rev 20172
Line 147... Line 147...
147
        except:
147
        except:
148
            continue
148
            continue
149
    message+="""</tbody></table></body></html>"""
149
    message+="""</tbody></table></body></html>"""
150
    print message
150
    print message
151
    #recipients = ['amit.gupta@saholic.com']
151
    #recipients = ['amit.gupta@saholic.com']
152
    recipients = ['rajneesh.arora@saholic.com','kshitij.sood@saholic.com','chaitnaya.vats@saholic.com','manoj.kumar@saholic.com','amit.gupta@saholic.com']
152
    recipients = ['rajneesh.arora@saholic.com','kshitij.sood@saholic.com','chaitnaya.vats@saholic.com', 'khushal.bhatia@saholic.com', 'ritesh.chauhan@saholic.com','amit.gupta@saholic.com']
153
    msg = MIMEMultipart()
153
    msg = MIMEMultipart()
154
    msg['Subject'] = "Paytm Best Sellers" + ' - ' + str(datetime.now())
154
    msg['Subject'] = "Paytm Best Sellers" + ' - ' + str(datetime.now())
155
    msg['From'] = ""
155
    msg['From'] = ""
156
    msg['To'] = ",".join(recipients)
156
    msg['To'] = ",".join(recipients)
157
    msg.preamble = "Paytm Best Sellers" + ' - ' + str(datetime.now())
157
    msg.preamble = "Paytm Best Sellers" + ' - ' + str(datetime.now())