Subscribe: RSS
  • Hi there, i have created a form using FormIt and configured System Settings to use SMTP (as per the instructions). I get a SMTP Error: Could not connect to SMTP host, when submitting my form and the error log says it was 'Unable to find the socket transport tls'. I am developing on localhost and using Revo 2.2.0. Has anyone else come across this issue or have any pointers/ideas? I have not used SMTP before and it may be something really simple. Any help much appreciated smiley
    • I'm not sure what you're using, but these are the correct System Settings for SMTP with Gmail:


      SMTP Authentication: Yes
      SMTP Connection Prefix: tls
      SMTP Hosts: smtp.gmail.com
      SMTP Password: yourGmailPassword
      SMTP Port: 465
      SMTP User: yourGmailUsername
      Use SMTP: Yes



      ---------------------------------------------------------------------------------------------------------------
      PLEASE, PLEASE specify the version of MODX you are using . . . PLEASE!
      MODx info for everyone: http://bobsguides.com/modx.html

        Get my Book: MODX:The Official Guide
        MODX info for everyone: http://bobsguides.com/MODx.html
        My MODX Extras
        Arvixe Community Liaison.
      • Hi BobRay,

        Thanks for your response. Those are the exact settings that i used. Any ideas?
        • Try installing QuickEmail. With its debug turned on you may get more information about what's wrong.

          Offhand, it sounds like a server configuration issue.

            Get my Book: MODX:The Official Guide
            MODX info for everyone: http://bobsguides.com/MODx.html
            My MODX Extras
            Arvixe Community Liaison.
          • Thanks - installed and have read your notes on your website. I pretty much get the same error:

            ***
            Final Values (actually used when sending email):
            subject: Default Subject
            to: me@hotmail.co.uk
            fromName: me@hotmail.co.uk
            replyTo: me@hotmail.co.uk
            emailSender: me@hotmail.co.uk
            allowHtml: 1
            Message Body: Default Message
            Send Failed
            Mailer error info: SMTP Error: Could not connect to SMTP host.
            Server Debug Information:
            SMTP -> ERROR: Failed to connect to server: Unable to find the socket transport "tls" - did you forget to enable it when you configured PHP? (32)
            ***

            If however i have configured the system setting mail_smtp_user to use me@gmail.com shouldn't that show as the 'emailsender'? The hotmail address i am using is the address i am trying to send to?

            Really appreciate your help - i have a number of forms to create and not being able to test them on my local server is not ideal smiley

            • That really sounds like a server configuration issue that has nothing to do with MODX. The PHP installation apparently doesn't have tls support enabled. Are you using PHP5? I don' think PHP4 has tls.


              ---------------------------------------------------------------------------------------------------------------
              PLEASE, PLEASE specify the version of MODX you are using . . . PLEASE!
              MODx info for everyone: http://bobsguides.com/modx.html

                Get my Book: MODX:The Official Guide
                MODX info for everyone: http://bobsguides.com/MODx.html
                My MODX Extras
                Arvixe Community Liaison.