Leo Messi Posted September 18, 2018 Share Posted September 18, 2018 So okay, I've got an email script from the MTA SA community which lets you able to send an email by using a specified GUI ingame and u put the email that you want to send to, like [email protected] Well, so seems like the PHP link has expired, has anyone another link? local randomMails = {"[email protected]", "[email protected]", "[email protected]", "[email protected]", "[email protected]"} function fromRandom() return randomMails[math.random(#randomMails)] end function sendCustomMail(subject, header, sendto, mail) local header = "From: "..subject.." <"..(header or fromRandom())..">" callRemote("http://mta.skcit.tk/emailer.php", returns, subject, header, sendto, mail) -- This website is not available any more so add the PHP files in your own website and put URL here. end addEvent("sendEMail", true) addEventHandler("sendEMail", root, sendCustomMail) function returns(msg, num) if msg == "ERROR" or (not msg) then outputDebugString("E-Mail not sent due to webpage errors, check the script and/or page provided.", 2) else outputDebugString(msg, num or 3) end end Link to comment
Adolfram Posted September 18, 2018 Share Posted September 18, 2018 you need to set yourself up with a webserver and a mailserver to be able to make this work. 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