Subversion Repositories SmartDukaan

Rev

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

Rev 14379 Rev 20172
Line 164... Line 164...
164
        <td style="text-align:center">"""+str(item.rank)+"""</td>
164
        <td style="text-align:center">"""+str(item.rank)+"""</td>
165
        </tr>"""
165
        </tr>"""
166
    message+="""</tbody></table></body></html>"""
166
    message+="""</tbody></table></body></html>"""
167
    print message
167
    print message
168
    #recipients = ['kshitij.sood@saholic.com']
168
    #recipients = ['kshitij.sood@saholic.com']
169
    recipients = ['rajneesh.arora@saholic.com','kshitij.sood@saholic.com','chaitnaya.vats@saholic.com','manoj.kumar@saholic.com']
169
    recipients = ['rajneesh.arora@saholic.com','kshitij.sood@saholic.com','chaitnaya.vats@saholic.com','ritesh.chauhan@saholic.com','khushal.bhatia@saholic.com']
170
    msg = MIMEMultipart()
170
    msg = MIMEMultipart()
171
    msg['Subject'] = "Amazon Best Sellers" + ' - ' + str(datetime.now())
171
    msg['Subject'] = "Amazon Best Sellers" + ' - ' + str(datetime.now())
172
    msg['From'] = ""
172
    msg['From'] = ""
173
    msg['To'] = ",".join(recipients)
173
    msg['To'] = ",".join(recipients)
174
    msg.preamble = "Amazon Best Sellers" + ' - ' + str(datetime.now())
174
    msg.preamble = "Amazon Best Sellers" + ' - ' + str(datetime.now())