We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 2952
    • 10 Posts
    Ok, I’ve been looking on the boards and documentation and there must be something I’m missing. Where do I go to enter my email parameters for the site? The contact form does not send the email and I get an error "can’t send email when a new user signs up" I have the basic install and the latest version 0.9.6.1. My test site is myunixservers.com/modx. HELP HELP HELP....PLEASE PLEASE PLEASE. I can provide the manager login if someone is willing to help me with this.

    Thanks huh
      • 28042 ☆ A M B ☆
      • 24,524 Posts
      the default site email address in set in the Configuration, in the User tab, the Email Address field. It would be used with the [(emailsender)] tags in HTML code (templates, chunks), and with $modx->config[’emailsender’] in snippet code.

      This may have nothing to do with your problem, however. Many shared hosting providers block the php mail() function from sending mail outside of the server for security reasons. And there are other reasons why mail sending could fail.
        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
        • 2952
        • 10 Posts
        Thanks for responding so quickly. I have that email address but it’s still not sending out any emails. Any other ideas why this is happening to me?
          • 28042 ☆ A M B ☆
          • 24,524 Posts
          Many shared hosting providers block the php mail() function from sending mail outside of the server for security reasons.

            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
            • 2952
            • 10 Posts
            Oh, Is there a workaround for this or a way for me to find out if it’s being blocked?
              • 28042 ☆ A M B ☆
              • 24,524 Posts
              Ask your hosting provider, or check their forums.

              You can edit the form mailing script to use the phpmailer class that comes with MODx, and use SMTP. The eForm snippet uses the class, and can easily be edited to use SMTP.

              http://modxcms.com/SPForm-1945.html SPForm makes it easier.
                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
                • 2952
                • 10 Posts
                Thanks alot. I’ll take a look and hopefully I can get something working.