Change code of mailer.php

Hi all,

Is there a way to change the PHP code of ‘mailer.php’ permanently?
So that when (new) sites are published, my modified code will be uploaded as the mailer.php file?

I want, among other things, to add %base_url% in the script so I can check the $_SERVER[‘HTTP_REFERER’] to prevent the mailer.php script being used directly by others. Currently, the default RW8 mailer.php is being used to send spam on a newly created website.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.