I have a problem running a script on my (VPS) php server. I accidentally created an endless php mail () loop. (forgot to add one to $ i). I believe it was something like this:
while($i<30){mail("me@gmail.com","Its me","Hi me!","Greetings"); }
I think I finished the script, but mail is still flooding my gmail-box. I tried deleting the .php file and restarting the server, but after rebooting, the email messages appeared again. I have ssh-access, but I don’t know how to stop sending emails. Since I am not very good at the command line, can you provide some instructions?
source
share