We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 32347
    • 143 Posts
    Hello,
    I am using the MODX Revolution 2.1.2-pl (traditional). I implimented the spform and it works fine. The issue I am having is when I try to change the email address to another email it will not change it. Can anyone give me some insight on how to add an email or change the email?

    Thank you
      • 3749
      • 24,544 Posts
      Are you trying to change the email address used by the form?

      If so you can add the &recipientarray property in the SPForm snippet tag:

      [[!SPForm? &recipientarray=`webmaster:[email protected]`]]


      The "webmaster" part will show up in the form, the "[email protected]" is where the email will go.

      If you need multiple recipients, use this form:

      &recipientarray=`webmaster:[email protected],support:[email protected]


      You can have as many recipient choices as you like.
      [ed. note: BobRay last edited this post 14 years, 11 months ago.]
        Did I help you? Buy me a beer
        Get my Book: MODX:The Official Guide
        MODX info for everyone: http://bobsguides.com/modx.html
        My MODX Extras
        Bob's Guides is now hosted at A2 MODX Hosting
        • 32347
        • 143 Posts
        Thank you for your response...

        I was in the property set to change the email config changing the recipient array and having no success. I was thinking that is the way to change it. This is what I have in the page content area' [[!SPForm@SPFormLocal]]'
        I realize that this may be calling on the deafult email address of the cms. COrect me if my assumption is wrong. I will check your solutions out. Thank you again for helping.

        [ed. note: wholein1 last edited this post 14 years, 11 months ago.]
          • 3749
          • 24,544 Posts
          Changing it in the property set should work too (as long as you remember to save the property set, specify the property set in the snippet tag, and clear the cache).

          Sending it as a property in the snippet tag will override whatever is in the property set.
            Did I help you? Buy me a beer
            Get my Book: MODX:The Official Guide
            MODX info for everyone: http://bobsguides.com/modx.html
            My MODX Extras
            Bob's Guides is now hosted at A2 MODX Hosting