Disable php mail function in domain

Discussion in 'Installation/Configuration' started by Gigabyte2, Dec 19, 2016.

  1. Gigabyte2

    Gigabyte2 New Member

    Hi everyone, I need to disable mail() php function in a domain throught the ISPConfig 3.1.1 web interface.
    I've tried to put "disable_functions = mail" into the "Custom php.ini settings" box but I still send mail from the website.
    How I can disable this function?

    Thank you!
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Most cms systems ahve functions to work around the mail function when it is missing. are you sure that your cms does not has the ability to send by smtp so that it still works when you disable the internal php mail function?
     
  3. Gigabyte2

    Gigabyte2 New Member

    The CMS that I'm using is Simple Machine Forum (SMF), I cannot find the option to disable mail there
     

Share This Page