Subversion Repositories SmartDukaan

Rev

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

Rev 12314 Rev 12329
Line 288... Line 288...
288
    mailServer.ehlo()
288
    mailServer.ehlo()
289
    recipients = []
289
    recipients = []
290
    recipients.append(request.user)
290
    recipients.append(request.user)
291
    message = "Your Request has been processed.Visit dashboard to check & download report" 
291
    message = "Your Request has been processed.Visit dashboard to check & download report" 
292
    msg = MIMEMultipart()
292
    msg = MIMEMultipart()
293
    msg['Subject'] = "Competition Scraping" + ' - ' + str(request.requestId)
293
    msg['Subject'] = "Competition Scraping.Upload Id" + ' - ' + str(request.requestId)
294
    msg['From'] = ""
294
    msg['From'] = ""
295
    msg['To'] = ",".join(recipients)
295
    msg['To'] = ",".join(recipients)
296
    msg.preamble = "Competition Scraping" + ' - ' + str(request.requestId)
296
    msg.preamble = "Competition Scraping" + ' - ' + str(request.requestId)
297
    html_msg = MIMEText(message, 'html')
297
    html_msg = MIMEText(message, 'html')
298
    msg.attach(html_msg)
298
    msg.attach(html_msg)