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

    I've had to have the local mail servers turned off since spammers have taken over the mail servers and using it to spam. We have been using Gmail for some times now, so this is a new thing, and was able to figure out that our server's mail server were compromised. How, I'm not sure - it could be via eForm, who knows. But I have a couple of forms that no longer works (the form itself works, the emails are not being sent due to the mail server being turned off).

    I've did a search for how to use Gmail as a default mail server for eForm, but I seem to only see references to REVO, but no EVO. Can anyone help? phpMail settings? where do I find this to set this up?

    thanks.
    • Modify the code in the assets/snippets/eform/eform.inc.php file itself (if I recall correctly, there are four places where mail is configured) to use smtp and supply the necessary server, username and password details.

      http://www.web-development-blog.com/archives/send-e-mail-messages-via-smtp-with-phpmailer-and-gmail/

        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
        • 4310
        • 2,310 Posts
        Try this.