undefined Posted July 12, 2015 Posted July 12, 2015 I will send e-mail with user's name and password to player's e-mail. But if the player write false email adress, how can i prevent it? Can I know it, so, real e-mail?
GTX Posted July 12, 2015 Posted July 12, 2015 No, you can only check if email matches to email pattern using regex. local email = "[email protected]" if email:match("[A-Za-z0-9%.%%%+%-]+@[A-Za-z0-9%.%%%+%-]+%.%w%w%w?%w?") then outputChatBox("VALID EMAIL") else outputChatBox("INVALID EMAIL") end
undefined Posted July 12, 2015 Author Posted July 12, 2015 It is enough for now, thanks I'll try it. Edit: It's work. Thanks
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now