Subversion Repositories SmartDukaan

Rev

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

Rev 18202 Rev 20172
Line 224... Line 224...
224
        <td style="text-align:center">"""+item.pageurl+"""</td>
224
        <td style="text-align:center">"""+item.pageurl+"""</td>
225
        </tr>"""
225
        </tr>"""
226
    message+="""</tbody></table></body></html>"""
226
    message+="""</tbody></table></body></html>"""
227
    print message
227
    print message
228
    #recipients = ['kshitij.sood@saholic.com']
228
    #recipients = ['kshitij.sood@saholic.com']
229
    recipients = ['rajneesh.arora@saholic.com','kshitij.sood@saholic.com','chaitnaya.vats@saholic.com','manoj.kumar@saholic.com']
229
    recipients = ['rajneesh.arora@saholic.com','kshitij.sood@saholic.com','chaitnaya.vats@saholic.com','ritesh.chauhan@saholic.com','khushal.bhatia@saholic.com']
230
    msg = MIMEMultipart()
230
    msg = MIMEMultipart()
231
    msg['Subject'] = "Snapdeal Best Sellers" + ' - ' + str(datetime.now())
231
    msg['Subject'] = "Snapdeal Best Sellers" + ' - ' + str(datetime.now())
232
    msg['From'] = ""
232
    msg['From'] = ""
233
    msg['To'] = ",".join(recipients)
233
    msg['To'] = ",".join(recipients)
234
    msg.preamble = "Snapdeal Best Sellers" + ' - ' + str(datetime.now())
234
    msg.preamble = "Snapdeal Best Sellers" + ' - ' + str(datetime.now())