We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 34162
    • 1 Posts
    I have put an email address in tools/configuration/user/ email address but it says there that this is for:
    "Here you can specify the e-mail address used when sending users their usernames and passwords"

    but anyway i have put my email in there and still the contact form doesn’t work....
      • 21496
      • 225 Posts
      Did you test you can send mails from that server?
        René
        • 7231
        • 4,205 Posts
        are you testing on a local server or an remote server? Sometimes on local server the firewall will not let the email work.

        Also, as nightsignals suggested, make sure you have mail() available on your server.
          [font=Verdana]Shane Sponagle | [wiki] Snippet Call Anatomy | MODx Developer Blog | [nettuts] Working With a Content Management Framework: MODx

          Something is happening here, but you don't know what it is.
          Do you, Mr. Jones? - [bob dylan]
          • 34162
          • 1 Posts
          no it’s just hosted with a company, not my own server. how do i check they have ()mail option available?
            • 21496
            • 225 Posts
            You can create a php document with this code (using your own e-mail address, of course):

            <?php
            
            mail("[email protected]", "Subject", "Message");
            echo "Testing Mail";
            
            ?>
            


            Save it as mail.php or something, send it to your server, and access it from the browser.
              René
              • 14050
              • 788 Posts
              If your mail() function does not work, you might try this modification I made to eForm that uses Swiftmailer.

              http://modxcms.com/forums/index.php/topic,19370.msg120440.html#msg120440

              This version is for PHP 4.x installs.
                Jesse R.
                Consider trying something new and extraordinary.
                Illinois Wine

                Have you considered donating to MODx lately?
                Donate now. Every contribution helps.
                • 34162
                • 1 Posts
                ok i emailed tech support and asked them and they gave me this link which gives php details for my domain, could anyone take a look for me and advise thanks: http://www.insideyork.co.uk/sln-php-info.php
                  • 21496
                  • 225 Posts
                  That looks fine so far. Did you use my script? If that didn’t send mail, ask your tech support to look into it.
                    René
                    • 34162
                    • 1 Posts
                    hi i haven’t tried the script so far, i just wanted to check with you if the normal contact form should be working or not from that php out that my host has given the link to. i’m a bit worried things aren’t as they should be, do you think i should be complaining to my host, and if so what should i say as they don’t support 3rd party cms scripts and stuff.

                    or do i just give up and use your script?
                      • 21496
                      • 225 Posts
                      My script is not meant to be used instead of eForm, it’s meant to narrow down the problem. We still don’t know if the mail() function works or not. That’s what you need to figure out first, before contacting tech support of your host.
                        René