SA-MP Forums Archive
Server to email - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Server to email (/showthread.php?tid=429452)



Server to email - zT KiNgKoNg - 09.04.2013

I would like to have a system for my upcoming server, when they finish registration i would like the server to send the registering person an email with the information i need to send them iv'e looked for this for about three hours if anyone can shine a lovely light on this it would be great.


Re: Server to email - Sithis - 09.04.2013

If you speak some PHP, you could create and host a PHP script which does this, and then use https://sampwiki.blast.hk/wiki/HTTP to call that script when someone registers. Make sure nothing but the SAMP script can call your PHP script by the way.


Re: Server to email - zT KiNgKoNg - 09.04.2013

I know php quite well its just the fact of doing it with samp


Re: Server to email - Sithis - 09.04.2013

Well either the linked HTTP or https://sampforum.blast.hk/showthread.php?tid=333934 might do the trick. Make sure your PAWN script sends a unique identifier along with it so only your server can call the PHP.