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)
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)
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)
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)
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)