We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 38359
    • 93 Posts
    Hi there,

    I'm setting up a site on GoDaddy and so I'm having problems getting formit to send.
    I'm trying attempting to try sending with smtp (using this post http://forums.modx.com/thread/88764/how-to-how-to-get-formit-to-send-with-godaddy-hosting)
    But formit won't validate when I turn smpt on.

    This is the formit call I'm using, do I need to add anything else to get it working with smtp?
    [[!FormIt? &emailFrom=`[email protected]` &emailSubject=`Contact form request` &hooks=`email,redirect` &emailTpl=`contactEmail_tpl` &emailTo=`[email protected]` &redirectTo=`5` &validate=`email:email:required, phone:required, name:required` ]]


    Validation error messahe:

    An error occurred while trying to send the email. SMTP Error: Could not connect to SMTP host.

    I'm using the smtp settings outlined in the post above (with a real email and passowrd of course).

    Any help would be much appreciated.

    Thanks!
    • First thing is you're on GoDaddy so that right there is one of the biggest problems.

      Try installing this extra and make sure your server can send emails, post back the results.
        Benjamin Marte
        Interactive Media Developer
        Follow Me on Twitter | Visit my site | Learn MODX
        • 38359
        • 93 Posts
        Yeah, GoDaddy was the clients choice!

        Installed QuickEmail, send failed with this message:

        SMTP -> ERROR: Failed to connect to server: Connection refused (111)
        • You need to solve your server issue first if you want FormIt to work.

          You can also try using gmail or any other email provider to handle this for you.

          Go to System -> System Settings and put SMTP in the search filter box at the upper right.

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

          Good luck.
            Benjamin Marte
            Interactive Media Developer
            Follow Me on Twitter | Visit my site | Learn MODX
            • 17412
            • 270 Posts
            For port 465 use:

            SMTP Connection Prefix: ssl
            SMTP Port: 465

            For TLS use:

            SMTP Connection Prefix: tls
            SMTP Port: 587

            //

            Quote from: benmarte at Mar 05, 2014, 07:22 AM
            You need to solve your server issue first if you want FormIt to work.

            You can also try using gmail or any other email provider to handle this for you.

            Go to System -> System Settings and put SMTP in the search filter box at the upper right.

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

            Good luck.