Enable PHPmail

In this tutorial we want to provide information on how to enable PHPmail feature on your cpanel account. PHPmail feature itself is a function that allows scripts without authorization (Password login) to be able to send email through your account. This feature brings advantages especially for users who still lay about the ins and outs of the website. It's just the use of PHPmail contain its own risks.

One of the major risks if you activate PHPmauil in your account is spamming. Websites that use CMS wordpress for example, could be infiltrated by parties ketida without the knowledge of cpanel account owner. Generally they enter your account and infiltrate spam software through security holes in your PHP script.

If this intrusion occurs and you have enabled PHPmail, then they could have uploaded malware that serves to send spam mail from your account without your knowledge. Once again, this is because karen PHPmail function does not require the authority or password to send email from your account so anyone who made it into your account can do it.

In such cases, we reserve the right to suspend and even remove a cpanel account without prior notification due to an urgent violation. Bulk mail delivery via PHPmail by third parties can disrupt all accounts in the same server so that action is as fast as possible. any

If you do not want to activate PHPmail but want to send an email through your PHP script, then please use the tutorial on the link HERE.

If you still want to use PHPmail with all the risks posed, then can use the following steps:
1. Login your Cpanel Account and click "Select PHP Version" menu.


PHP selector

2. View the top right corner and click LINK "Switch To PHP Options".


3. View the column "sendmail_path" and select "/ usr / sbin / sendmail -t -i"
4. Click Apply
5. Click Save


  • php ini, php mail
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Configure PHP ini (time execution, memori limit, upload size, post size)

Here's how to configure php.ini without root privileges. With this feature you can configure the...

Enable Cloudflare And RAILGUN on Cpanel

Silahkan ikuti beberapa langkah mudah dibawah untuk mengaktifkan Cloudflare melalui akun Cpanel...