Subversion Repositories SmartDukaan

Rev

Rev 1891 | Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
581 rajveer 1
'''
2
Created on 5-Jan-2011
3
 
4
@author: rajveer
5
'''
6
 
7
from shop2020.clients.HelperClient import HelperClient
8
from shop2020.thriftpy.utils.ttypes import *
9
 
10
 
11
 
12
helper_client = HelperClient()
13
 
14
helper_client.__start__()
15
 
16
client = helper_client.get_client()
17
 
18
mail = Mail()
19
mail.to = ["rajveer.singh@shop2020.in","rajveer.singh@shop2020.in"]
20
mail.subject = "Test mail subject"
21
mail.data = "Mail text"
22
mail.password = "dummy"
23
mail.sender="rajveer.singh@shop2020.in"
24
client.sendMail(mail)