24.03.2019, 16:25
You probably will have the player's email stored(probably when they log in) in an enum in the script.
Then you would make a POST request to an endpoint to the PHP script, in that request you would also pass the player's email, the message and the subject.
Edit:
You can use this as an example: https://sampforum.blast.hk/showthread.php?tid=351065
Then you would make a POST request to an endpoint to the PHP script, in that request you would also pass the player's email, the message and the subject.
Edit:
You can use this as an example: https://sampforum.blast.hk/showthread.php?tid=351065