Jump to content

Send confirmation code SMS


TiTawN

Recommended Posts

1 hour ago, TiTawN said:

Hello, I wanted to know how I can create an in-game registration panel that will send the verification code to the user's real phone.

Hello TiTawN,

you can use the fetchRemote function to send and receive data from remote servers. This opens up access to all kinds of web services. Try to find your own service provider that allows you to send SMS messages via web request. Keep in mind to closely follow their guidance related to secure authentication and data exchange.

Edited by The_GTA
Link to comment
  • 4 months later...

You cannot directly send an SMS using MTA. However, you can use fetchRemote to communicate with external web APIs such as SMS texting services. These services are typically not free, however. You can send emails with one-time passcodes for free if you already have an HTTP server, using PHP's mail() function for example, or a full SMTP server if you have one. These would be triggered by making a request to a particular webpage/server (that is, fetching/requesting the remote page), which can be done though the aforementioned fetchRemote function.

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...