Subversion Repositories SmartDukaan

Rev

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

Rev 6174 Rev 6185
Line 172... Line 172...
172
        <html>
172
        <html>
173
        <body>
173
        <body>
174
        <div>
174
        <div>
175
        <p>
175
        <p>
176
        Hi $customer_name, <br>
176
        Hi $customer_name, <br>
177
        Thanks for your order Id: $orderid placed at Saholic.com. As promised you have received a recharge worth Rs $amount. This amount has been added to your <a href="www.saholic.com/my-wallet">Recharge Wallet</a>.You can use this to  <a href="www.saholic.com/recharge">recharge</a> your mobile or DTH.
177
        Thanks for your order Id: $orderId placed at Saholic.com. As promised you have received a recharge worth Rs $amount. This amount has been added to your <a href="www.saholic.com/my-wallet">Recharge Wallet</a>.You can use this to  <a href="www.saholic.com/recharge">recharge</a> your mobile or DTH.
178
 
178
 
179
        <a href="http://www.saholic.com/static/recharge-faq#Q3">Learn </a> how to use your wallet. In case of any questions please feel free to <a href="www.saholic.com/contact-us>Contact Us </a> 
179
        <a href="http://www.saholic.com/static/recharge-faq#Q3">Learn </a> how to use your wallet. In case of any questions please feel free to <a href="www.saholic.com/contact-us>Contact Us </a> 
180
 
180
 
181
 
181
 
182
        Regards,<br/>
182
        Regards,<br/>
Line 191... Line 191...
191
        
191
        
192
    html = Template(html).substitute(dict(orderId=orderId,amount=amount,customer_name=customer_name))
192
    html = Template(html).substitute(dict(orderId=orderId,amount=amount,customer_name=customer_name))
193
    
193
    
194
    try:
194
    try:
195
        helper_client = HelperClient().get_client()
195
        helper_client = HelperClient().get_client()
196
        helper_client.saveUserEmailForSending(email, "", "Your Free Mobile/DTH Recharge", html, str(orderId), "RechargeVoucher")
196
        helper_client.saveUserEmailForSending([email], "", "Your Free Mobile/DTH Recharge", html, str(orderId), "RechargeVoucher", [], [])
197
    except Exception as e:
197
    except Exception as e:
198
        print e
198
        print e
199
 
199
 
200
    
200
    
201
def main():
201
def main():