We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 18817 ☆ A M B ☆
    • 205 Posts
    MODX Evo 1.0.4.

    By default we've always allowed eForm to handle all the sending. When a client gets the form the from field in their mail client will say ClientName <[email protected]>

    ClientName = Site Name from what I can tell (site_name)
    <default@domain> = the email set in the [(email_sender)] under Tools > Config

    Now the &from= parameter you can set to any email, but how can I set it to the email address of the person who just filled out the form? Much like the &replyTo= parameter, I just put `email` (no go)

    The &fromName= should also pull the person's name that filled out the form?

    Help is appreciated - thank you in advance!

    My eForm Call:
    [!eForm? 
    &eformOnMailSent=`save_form_data` 
    &formid=`contact` 
    &subject=`[(site_name)] - Contact us form submission` 
    &to=`[[form-emails]]` 
    &replyto=`email` 
    &tpl=`contact-form` 
    &report=`contact-report` 
    &gotoid=`6` 
    &from=`[+email+]` 
    &fromname=`[+firstName+]` 
    !]
    
      Sal Baldovinos
      SEO & DIGITAL MARKETING

      ARIEL DIGITAL | Maximize Your Potential
      www.arieldigitalmarketing.com
      • 18817 ☆ A M B ☆
      • 205 Posts
      phx was the issue!!

      &from=`((email))` &fromname=`((firstName)) ((lastName))` is the correct call. Found here: https://forums.modx.com/thread/71522/my-eform-sends-from-unknown
        Sal Baldovinos
        SEO & DIGITAL MARKETING

        ARIEL DIGITAL | Maximize Your Potential
        www.arieldigitalmarketing.com
        • 37619
        • 79 Posts
        Thank you Mr. B! smiley
          Jean-Marc Buytaert (@jmbuytaert)

          MODX truly is the greatest thing that's ever happened to the Internet.
          • 28042 ☆ A M B ☆
          • 24,524 Posts
          I've always suspected that there's something wrong with the regular expression in the phx plugin that handles its garbage collection. Never was able to figure it out though.
            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