Hero192 Posted February 8, 2016 Share Posted February 8, 2016 Hey Dear MTA scripters, I am trying to make an Account Recover system for the player that who forgot / lost their account password. How can I send a message to player's Email ? Link to comment
ViRuZGamiing Posted February 9, 2016 Share Posted February 9, 2016 You should do a callRemote() to a webpage and from there a php mail() Link to comment
Simple0x47 Posted February 9, 2016 Share Posted February 9, 2016 Better use swift mailer than php mailer. Link to comment
tosfera Posted February 10, 2016 Share Posted February 10, 2016 Better use swift mailer than php mailer. Quite a strong meaning over there, I would never use a third party system to send emails. You're handing over an e-mail and some data in there to restore passwords. I'm not sure if your users would like that. They've given you the information for usage in the script, not to hand over to third parties so they can get spammed as hell or even contacted for bullsh*t. @OP; ViRuZ gave you the right answer for a safe approach, create a php script on a webserver or even a local wamp server from yourself, write a small mail() script with some protection so not everyone can use it, and send the mail from there. Don't forget the configuration of the smtp server if you're using a local server. Link to comment
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