Subversion Repositories SmartDukaan

Rev

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

Rev 4120 Rev 4121
Line 90... Line 90...
90
                print_rto_orders_report(returned_orders_file, returned_orders)
90
                print_rto_orders_report(returned_orders_file, returned_orders)
91
                returned_orders_report = [get_attachment_part(returned_orders_file)]
91
                returned_orders_report = [get_attachment_part(returned_orders_file)]
92
                mail(from_user, from_pwd, to,\
92
                mail(from_user, from_pwd, to,\
93
                     "Returned Orders Report for " + provider.name,\
93
                     "Returned Orders Report for " + provider.name,\
94
                     "This is a system generated email.Please don't reply to it.",\
94
                     "This is a system generated email.Please don't reply to it.",\
95
                     [returned_orders_report])
95
                     returned_orders_report)
96
            except:
96
            except:
97
                print "Some issue sending the returned orders report"
97
                print "Some issue sending the returned orders report"
98
                traceback.print_exc()
98
                traceback.print_exc()
99
    except:
99
    except:
100
        print "Some issue while processing the returned orders"
100
        print "Some issue while processing the returned orders"