Receive your emails via SMS with the Free Mobile API.

test.py 465B

123456789101112131415
  1. #!/usr/bin/env python
  2. from builtins import input #pour rendre input python2 and 3 compatible
  3. import emails_sms_free
  4. if __name__ == '__main__':
  5. url = "https://smsapi.free-mobile.fr/sendmsg"
  6. user= input("Please enter usr: ")
  7. print("you entered" + str(user))
  8. password= input("Please enter password: ")
  9. print("you entered"+ str(password))
  10. msg = input("Please enter msg: ")
  11. print("you entered"+ str(msg))
  12. end = emails_sms_free.send(url, user, password, msg)