Subversion Repositories SmartDukaan

Rev

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

Rev 17106 Rev 20172
Line 176... Line 176...
176
        except:
176
        except:
177
            continue
177
            continue
178
    message+="""</tbody></table></body></html>"""
178
    message+="""</tbody></table></body></html>"""
179
    print message
179
    print message
180
    #recipients = ['amit.gupta@saholic.com']
180
    #recipients = ['amit.gupta@saholic.com']
181
    recipients = ['rajneesh.arora@saholic.com','kshitij.sood@saholic.com','chaitnaya.vats@saholic.com','manoj.kumar@saholic.com','amit.gupta@saholic.com']
181
    recipients = ['rajneesh.arora@saholic.com', 'khushal.bhatia@saholic.com', 'kshitij.sood@saholic.com','chaitnaya.vats@saholic.com','ritesh.chauhan@saholic.com','amit.gupta@saholic.com']
182
    msg = MIMEMultipart()
182
    msg = MIMEMultipart()
183
    msg['Subject'] = "HomeShop18 Best Sellers" + ' - ' + str(datetime.now())
183
    msg['Subject'] = "HomeShop18 Best Sellers" + ' - ' + str(datetime.now())
184
    msg['From'] = ""
184
    msg['From'] = ""
185
    msg['To'] = ",".join(recipients)
185
    msg['To'] = ",".join(recipients)
186
    msg.preamble = "HomeShop18 Best Sellers" + ' - ' + str(datetime.now())
186
    msg.preamble = "HomeShop18 Best Sellers" + ' - ' + str(datetime.now())