Subversion Repositories SmartDukaan

Rev

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

Rev 20040 Rev 20046
Line 454... Line 454...
454
    message3="Subject : " + str(customerFeedback.get('subject'))
454
    message3="Subject : " + str(customerFeedback.get('subject'))
455
    message4="Message : " + str(customerFeedback.get('message'))
455
    message4="Message : " + str(customerFeedback.get('message'))
456
    html_msg = MIMEText(message+"<br><br>"+message1+"<br><br>"+message2+"<br><br>"+message3+"<br><br>"+message4, 'html')
456
    html_msg = MIMEText(message+"<br><br>"+message1+"<br><br>"+message2+"<br><br>"+message3+"<br><br>"+message4, 'html')
457
    msg.attach(html_msg)
457
    msg.attach(html_msg)
458
 
458
 
459
    MAILTO = ['rajneesh.arora@shop2020.in','amit.sirohi@shop2020.in','shailesh.kumar@shop2020.in','sandeep.sachdeva@shop2020.in','manas.kapoor@shop2020.in','chaitnaya.vats@shop2020.in','amit.gupta@shop2020.in']
459
    MAILTO = ['rajneesh.arora@shop2020.in','amit.sirohi@shop2020.in','khushal.bhatia@shop2020.in','shailesh.kumar@shop2020.in','himanshu.pandey@shop2020.in','rajender.singh@shop2020.in','chaitnaya.vats@shop2020.in','amit.gupta@shop2020.in']
460
    #MAILTO = ['manas.kapoor@saholic.com']
460
    #MAILTO = ['rajender.singh@saholic.com']
461
    mailServer.login(SENDER, PASSWORD)
461
    mailServer.login(SENDER, PASSWORD)
462
    try:
462
    try:
463
        mailServer.sendmail(SENDER, MAILTO, msg.as_string())
463
        mailServer.sendmail(SENDER, MAILTO, msg.as_string())
464
    except:
464
    except:
465
        m = Email('localhost')
465
        m = Email('localhost')