We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 25046
    • 194 Posts
    I am using the &automessage parameter and it works great except for one thing: according to the documentation it will ONLY send the auto-respond message to the email address specified inside the [email] form field. However I need it to also send to another address. Is there any reasonably easy way to get this to happen? Thanks!
      • 9995
      • 1,613 Posts
      u can use:

      &bcc=`emailhere` &to=`emailhere` &cc=`emailhere`
        Evolution user, I like the back-end speed and simplicity smiley
        • 28042 ☆ A M B ☆
        • 24,524 Posts
        Auto-response code does not add the BCC or CC addresses. You could patch the code to do so, or use a separate snippet/function with the eFormOnMailSent event to mail to the BCC and CC addresses.

        Compare the file assets/snippets/eform/eform.inc.php at lines 450-454 for the regular report mailing with line 486 of the auto-response code.
          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