Announcement

Collapse
No announcement yet.

How To Disable PHPMail() function from WHM - Linux server?

Collapse

Ads on showthread pages

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • How To Disable PHPMail() function from WHM - Linux server?

    WordPress Hosting on SSD Servers
    There is a function in PHP to send a mail via PHPMail() script. However, it is advisable to disable PHP mail() function on the shared hosting server to prevent spamming from the server and allow SMTP authentication to send the emails via PHP script. You can disable PHP mail() function from WHM. You will need to follow these steps:

    [1] Login into WHM.
    [2] Go to Tweak Settings.
    [3] Select the option:

    "Prevent" "nobody" from sending out mail to remote addresses (PHP and CGI scripts generally run as nobody if you are not using PHPSuexec and Suexec respectively.)"

    [4] save it to apply changes.
    Last edited by admin; 08-13-2015, 11:22 AM.
Working...
X
Sign up for a News Letter Click here to sign up