示例#1
0
def mail_me(name, sender, mobile, message):
    send_inst = sendemail.SendEmail(service)
    message = send_inst.create_message_for_me('*****@*****.**',
                                              '*****@*****.**',
                                              'someone want to contact', name,
                                              sender, mobile, message)
    send_inst.send_message('me', message)
示例#2
0
def mail_info(receiver, user):
    send_inst = sendemail.SendEmail(service)
    message = send_inst.create_message('*****@*****.**', receiver,
                                       'We will contact you soon', user)
    send_inst.send_message('me', message)
示例#3
0
def mail_otp(receiver, pin_code, username):
    send_inst = sendemail.SendEmail(service)
    message = send_inst.create_otp('*****@*****.**', receiver,
                                   'Raxoweb OTP Assistant', pin_code, username)
    send_inst.send_message('me', message)
示例#4
0
def mail_otp(receiver, pin_code, username):
    send_inst = sendemail.SendEmail(service)
    message = send_inst.create_otp('*****@*****.**', receiver,
                                   'Message you want to set', pin_code,
                                   username)
    send_inst.send_message('me', message)
示例#5
0
def mail_otp(receiver, pin_code, username):
    send_inst = sendemail.SendEmail(service)
    message = send_inst.create_otp('*****@*****.**', receiver,
                                   'your-organisation OTP Assistant', pin_code,
                                   username)
    send_inst.send_message('me', message)