We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 40735
    • 119 Posts
    Hi!
    I'm trying to refactor a script I wrote to use modPHPMailer instead of PHP's mail() function but it's not working. It fails every time, telling me that it "could not instantiate mail function."

    Anyone have any idea why? MODx was able to email me my password so I don't think there's anything wrong with the mail system. I don't know where else to look.
    Any advice would be appreciated.
    Thanks!

    This question has been answered by dwillis210. See the first response.

    • discuss.answer
      • 40735
      • 119 Posts
      It turns out it was an SELinux issue.