Subversion Repositories SmartDukaan

Rev

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

Rev 19648 Rev 20172
Line 104... Line 104...
104
        <td style="text-align:center">"""+(item.url)+"""</td>
104
        <td style="text-align:center">"""+(item.url)+"""</td>
105
        </tr>"""
105
        </tr>"""
106
    message+="""</tbody></table></body></html>"""
106
    message+="""</tbody></table></body></html>"""
107
    print message
107
    print message
108
    #recipients = ['kshitij.sood@saholic.com']
108
    #recipients = ['kshitij.sood@saholic.com']
109
    recipients = ['rajneesh.arora@saholic.com','kshitij.sood@saholic.com','chaitnaya.vats@saholic.com','manoj.kumar@saholic.com']
109
    recipients = ['rajneesh.arora@saholic.com','kshitij.sood@saholic.com','chaitnaya.vats@saholic.com','ritesh.chauhan@saholic.com','khushal.bhatia@saholic.com']
110
    msg = MIMEMultipart()
110
    msg = MIMEMultipart()
111
    msg['Subject'] = "Flipkart Best Sellers" + ' - ' + str(datetime.now())
111
    msg['Subject'] = "Flipkart Best Sellers" + ' - ' + str(datetime.now())
112
    msg['From'] = ""
112
    msg['From'] = ""
113
    msg['To'] = ",".join(recipients)
113
    msg['To'] = ",".join(recipients)
114
    msg.preamble = "Flipkart Best Sellers" + ' - ' + str(datetime.now())
114
    msg.preamble = "Flipkart Best Sellers" + ' - ' + str(datetime.now())