You can easily disable PHP scripts from sending emails to, for that it is must to have root access of your server. You can check below steps:
You can find the php.ini file in /usr/local/lib/php.ini location.
In this file you have to add “mail” to disable this function.
Now save your file and restart apache to reflect changes.
Steps to change Database User's schema in MSSQL
You can follow below steps:
Here db_user is your database username.
- Login to WHM.
- Go to Server Configuration >> Tweak Settings >> Mail
- Here enable “Restrict outgoing SMTP to root, exim, and mailman (FKA SMTP Tweak)” option.
- Now your mail function is disabled globally.
You can find the php.ini file in /usr/local/lib/php.ini location.
In this file you have to add “mail” to disable this function.
Code:
disable_functions = "exec, mail"
Steps to change Database User's schema in MSSQL
You can follow below steps:
- Login to SQL server database.
- Now right click on particular database and select “New Query” option.
- After that run this command:
Code:
ALTER USER db_user WITH DEFAULT_SCHEMA = dbo;