Powered By Blogger

Search This Blog

18 February, 2013

Disable PHP mail function on cPanel server

Disable PHP mail function on cPanel server
There is a function available in PHP to send a mail via PHP script. The function is mail(). However, it is advisable to disable PHP mail() function on the shared hosting server to prevent spamming from the server and allow only SMTP authentication to send the emails via PHP script. You can disable PHP mail() function from WHM. You will just need to follow the below steps for that:

[1] Login to your WHM.
[2] Go to Tweak Settings.
[3] Select the option "Prevent the user "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.)" and save it.

Regards,

2 comments:

  1. Easy "water hack" burns 2 lbs OVERNIGHT

    Over 160,000 women and men are utilizing a simple and SECRET "water hack" to lose 2lbs every night in their sleep.

    It is very easy and it works with everybody.

    Here's how to do it yourself:

    1) Grab a clear glass and fill it with water half the way

    2) Proceed to do this proven hack

    and you'll become 2lbs lighter the very next day!

    ReplyDelete
  2. Water Hack Burns 2lb of Fat OVERNIGHT

    Over 160 thousand men and women are using a simple and secret "liquids hack" to lose 2 lbs each night in their sleep.

    It is painless and it works with everybody.

    Here are the easy steps for this hack:

    1) Go get a clear glass and fill it half glass

    2) And then learn this weight loss HACK

    and become 2 lbs skinnier the next day!

    ReplyDelete