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

    I spent a couple of hours fixing this.
    Since I can't find it mentioned in another thread, I'm sharing the fix with you!

    I had issues sending email with FormIt (MODX Revo 2.2.2).
    It is a basic contact form with name, email and message.
    I had checked a couple of times my settings, chunks and form but I couldn't get it to work.

    I found out that in order to limit spam, Dreamhost (which is hosting the website running MODX and FormIt) blocks any email that is sent from yahoo, hotmail, gmail, etc...
    Since FormIt use the email address provided in the form as From field by default; these were blocked (I was using a dummy address from yahoo when testing)

    Workaround:
    In the email hook, add the following properties:
    &emailFrom=`[email protected]`

    making sure that the email address is not from a major provider (yahoo, gmail, hotmail, etc...).
    FormIt will then send an email with this address in the From field, no matter what the user had typed.

    Voilà !

    (Thanks to Bob's book for the help)
      • 43969
      • 3 Posts
      Quote from: SpaceTurtle at May 31, 2012, 07:52 AM

      I spent a couple of hours fixing this.

      Thank You! You saved a couple of hours for me.