I think the best way forbiden to send eamils is to edit the PHP. I try to edit this code like this when PHP get an error then can not sending email now.Let me test dose it can worked.We can change any code of this PHP the purpose of this operate is to let this code do not worked correct
And the other way is disabled the ‘EditorRemainder’ class by the following.

