We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 9207 ☆ A M B ☆
    • 2,475 Posts
    I’m on a brand-spanking new Linux box (Cent OS 5). What modules does eForm require? Sendmail? eForm isn’t currently working, and I’m almost positive it’s because of something missing on the server. I didn’t see any mention of this type of stuff in the documentation.

    Thanks!
      • 14418
      • 5 Posts
      Hey, the validation doc file is missing from the download’s zip .... huh
        • 28042 ☆ A M B ☆
        • 24,524 Posts
        Quote from: Everettg_99 at Sep 12, 2008, 01:17 AM

        I’m on a brand-spanking new Linux box (Cent OS 5). What modules does eForm require?
        It uses the same mailing system that MODx itself does. The class.phpmailer.php file that MODx (and eForm) uses is in manager/includes/controls. This is configured to use /usr/bin/sendmail, which is almost always either the actual mailer daemon or a link to the mail daemon being used (postfix, etc).

          Studying MODX in the desert - http://sottwell.com
          Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
          Join the Slack Community - http://modx.org
          • 3749
          • 24,544 Posts
          Quote from: sottwell at Sep 13, 2008, 01:14 AM

          Quote from: Everettg_99 at Sep 12, 2008, 01:17 AM

          I’m on a brand-spanking new Linux box (Cent OS 5). What modules does eForm require?
          It uses the same mailing system that MODx itself does. The class.phpmailer.php file that MODx (and eForm) uses is in manager/includes/controls. This is configured to use /usr/bin/sendmail, which is almost always either the actual mailer daemon or a link to the mail daemon being used (postfix, etc).

          If, for whatever reason, sendmail doesn’t work, phpmailer can also be set to use SMTP with any remote SMTP host you have an account with.

            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
            • 28042 ☆ A M B ☆
            • 24,524 Posts
            Actually, that can be taken care of in eForm itself; line 452 of assets/snippets/eform/eform.inc.php has the configuration setting for using php’s mail() function. This can be changed to use SMTP, in which case you’d need to add three more settings for the server and the mail account’s login information.

            http://phpmailer.codeworxtech.com/index.php?pg=tutorial
              Studying MODX in the desert - http://sottwell.com
              Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
              Join the Slack Community - http://modx.org
              • 12013
              • 61 Posts
              I was hoping someone may be able to shed some light on my situation, or might have had the same trouble. I have had a look throught e forum but not come up with anything.

              I have installed eform and all is working correctly...well almost. The addresses assinged do not get the mail, I have checked and double checked the spellings, then pasted them into my e-mail client and sent a test mail which gets there ok, I have replaced the addresses with my address and I get the form results OK.

              I know the addresses are correct they do receive mail but not the form results. Does anyone know of this happening?
                • 26903
                • 1,336 Posts
                How is your e-mail client set-up? If it uses SMTP you will probably have to pass more parameters to eform to set the mail up as previous posters have suggested, in any case check your error and mail logs for signs of trouble.
                  Use MODx, or the cat gets it!
                  • 12013
                  • 61 Posts
                  will give that a go, seems odd though, most other problems seemed to stem from being unable to send to domain outside of own domain. I am trying to send mail to [email protected] and modx is hosted at mydomain.co.uk. It all works if I send to a mail on yourdomain,co.uk or yourdomain2.co.uk.
                    • 26903
                    • 1,336 Posts
                    So, do you mean eform works if you use yourdomain2.co.uk but doesnt if you use mydomain.co.uk?

                    If so this is a mail setup feature on your host, your mail logs will tell you why the mail is rejected.
                      Use MODx, or the cat gets it!
                      • 12013
                      • 61 Posts
                      that is correct, I am trying to get the mail logs as we speak.

                      I will stop hunting and probably post back here later with the results if that is OK. Really appreciate your help shamblett.

                      This discussion is closed to further replies. Keep calm and carry on.