We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 8168
    • 1,118 Posts
    Hi - I am unable to get Formit to send emails from a contact form using SMTP authentication running on MODX 2.6.5 following a recent upgrade.. It was working fine before the upgrade, but now - using the same settings with nothing on the email side of things having been changed... it no longer works and each time I try and submit the form I get the error below:

    An error occurred while trying to send the email. SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting


    Error logo shows these:

    [2018-07-30 21:13:22] (ERROR @ /public_html/core/components/formit/src/FormIt/Request.php : 87) [FormIt] Could not load FormItReCaptcha service class.
    [2018-07-30 21:13:22] (ERROR @ /public_html/core/components/formit/src/FormIt/Hook/Email.php : 303) [FormIt] An error occurred while trying to send the email. SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting
    


    Any ideas?
      • 3749
      • 24,544 Posts
      Have you tried QuickEmail in debug mode? If it succeeds, you know the problem is specific to FormIt.

        Did I help you? Buy me a beer
        Get my Book: MODX:The Official Guide
        MODX info for everyone: http://bobsguides.com/modx.html
        My MODX Extras
        Bob's Guides is now hosted at A2 MODX Hosting
        • 8168
        • 1,118 Posts
        Quote from: BobRay at Jul 31, 2018, 04:02 AM
        Have you tried QuickEmail in debug mode? If it succeeds, you know the problem is specific to FormIt.


        Good idea Bob - will give it a go...
          • 8168
          • 1,118 Posts
          Quote from: dubbs at Jul 31, 2018, 06:53 AM
          Quote from: BobRay at Jul 31, 2018, 04:02 AM
          Have you tried QuickEmail in debug mode? If it succeeds, you know the problem is specific to FormIt.


          Good idea Bob - will give it a go...

          I checked with QuickEmail and that failed also - it seems the hosting company have changed how they wanted things to be setup to send from their server.. wink !