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

    I’m trying to generate an auto-response with eform and I already have a chunk with the custom message inside and here’s my snippet call:

    [!eForm? &formid=`ecrewquoteform` &subject=`Request for quote form submited` &to=`[email protected]` &cc=`[email protected]` &ccsender=`1` &tpl=`ecrew-quoteform` &report=`ecrew-quoteformreport_full` &thankyou=`ecrew-quotethankyou` &invalidClass=`invalidValue` &requiredClass=`requiredValue` &cssStyle=`ContactStyles` &gotoid=`49` !]


    So I guess the question is: what now?
      A MODx Fanatic
      • 36416
      • 589 Posts
      Quote from: treigh at Apr 28, 2008, 10:27 PM

      So I guess the question is: what now?

      Remove &ccsender parameter and add &automessage (template chunk) instead.
        • 30585
        • 833 Posts
        Thanks for the tip. I did add the &automessage=`ecrew-quotethankyou` and here’s my new call:

        [!eForm? &formid=`ecrewquoteform` &subject=`Request for quote form submited` &to=`[email protected]` &ccsender=`1` &tpl=`ecrew-quoteform` &report=`ecrew-quoteformreport_full` &automessage=`ecrew-quotethankyou` &invalidClass=`invalidValue` &requiredClass=`requiredValue` &cssStyle=`ContactStyles` &gotoid=`49` !]


        But there’s still nothing happening. I do also have a chunk for the automessage
          A MODx Fanatic
          • 36416
          • 589 Posts
          Quote from: treigh at Apr 29, 2008, 07:20 AM

          Thanks for the tip. I did add the &automessage=`ecrew-quotethankyou` and here’s my new call:
          ...
          But there’s still nothing happening. I do also have a chunk for the automessage

          Like I said, remove CCsender or set it to zero: &ccsender=`0`
          Please also check if there is {{ecrew-quotethankyou}} chunk (case-sensitive).
          You also need field in your form that is exactly named "email" (where autoresponder would send the message).
          It worked that way last weekend... wink
            • 30585
            • 833 Posts
            Almost there!

            The &automessage function is partially working. The problem is that instead of sending the custom message from my {{ecrew-quotethankyou}} chunk, it’s sending a copy of the form report {{ecrew-quoteformreport_full}}.

            In other words, Eform is mistaking &automessage=`ecrew-quotethankyou` for &report=`ecrew-quoteformreport_full`

            Can you suggest another path or tutorial that might help?
              A MODx Fanatic
              • 30585
              • 833 Posts
                A MODx Fanatic