WHM / cPanel - Disable PHP Send Mail For One Account

Create the separate php.ini file for your user and disable the mail function in that php.ini file,

 

disable_functions = mail, sendmail

  • 6 Users Found This Useful
Was this answer helpful?

Related Articles

421 Unexpected failure

If you are trying to send emails and get a message like: 421, response: Unexpected failure,...

451 error while writing spool file

This message indicates that your email is not configured properly. Please double check you are...

535 Incorrect authentication data

If you have a Linux dedicated server, you can fix this problem. In root WHM, go to Email >...

550 error

This error indicates an inability to send emails. There are many reasons for a 550 error. 550...

Are you able to receive emails but not send?

If you aren't able to send this usually means one thing... your internet provider is blocking...