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

    I’m working on an Evolution site, and am successfully using eForm. Its working great with my e-mail address, but now the site is ready, that address needs to change to the clients address.

    This is really strange, but when I alter it to the client e-mail address, I’m still getting the e-mails to the original address I set it to. I’ve contacted the client, and they aren’t receiving the e-mails, and I’ve also tried clearing the site cache but to no avail.

    My eForm call is:

    [!eForm? &formid=`contactForm` &subject=`Quotiation request from the website` &vericode=`1` &to=`[email protected]` &tpl=`quoteForm` &report=`quoteFormReport` !]


    And the form is:

    [+validationmessage+]
    <form method="post" action="[~[*id*]~]"><input type="hidden" name="formid" value="contactForm" />
    
    <label for="name">Full Name<span class="required">*</span></label>
    <input maxlength="40" size="30" name="name" type="text" eform="Name:string:1" onfocus="this.style.outline='1px solid #E77230'" onblur="this.style.outline='0px solid #ffffff'"/>
    
    <label for="message">Address</label>
    <textarea cols="30" rows="5" name="address" onfocus="this.style.outline='1px solid #E77230'" onblur="this.style.outline='0px solid #ffffff'"></textarea><br/>
    
    <label for="postCode">Post Code</label>
    <input maxlength="40" size="30" name="postCode" type="text" onfocus="this.style.outline='1px solid #E77230'" onblur="this.style.outline='0px solid #ffffff'"/>
    
    <label for="email">Email Address<span class="required">*</span></label>
    <input maxlength="40" name="email" size="30" type="text" eform="Email:string:1" onfocus="this.style.outline='1px solid #E77230'" onblur="this.style.outline='0px solid #ffffff'"/>
    
    <label for="telephone">Telephone Number</label>
    <input maxlength="40" name="telephone" size="30" type="text" onfocus="this.style.outline='1px solid #E77230'" onblur="this.style.outline='0px solid #ffffff'"/>
    
    <label for="insuranceType">Insurance Type</label>
    <select name="insuranceType">
    <option value="Business Insurance">Business Insurance</option>
    <option value="Personal Insurance">Personal Insurance</option>
    <option value="Vehicle Insurance">Vehicle Insurance</option>
    <option value="Travel Insurance">Travel Insurance</option>
    <option value="Property Insurance">Property Insurance</option>
    <option value="Travel Insurance">Travel Insurance</option>
    <option value="Hospitality Insurance">Hospitality Insurance</option>
    </select>
    
    <label for="other">If other, please state</label>
    <input maxlength="40" name="other" size="30" type="text" onfocus="this.style.outline='1px solid #E77230'" onblur="this.style.outline='0px solid #ffffff'"/>
    
    <label for="message">Message</label>
    <textarea cols="30" rows="8" name="message" onfocus="this.style.outline='1px solid #E77230'" onblur="this.style.outline='0px solid #ffffff'"></textarea><br/>
    
    <p class="form-text">Please enter the anti spam code below:<span class="required">*</span></p><br/>
    
    <img src="[+verimageurl+]" border="1" alt="verification code" />
    
    <label for="vericode">Code</label>
    <input name="vericode" size="20" type="text" onfocus="this.style.outline='1px solid #E77230'" onblur="this.style.outline='0px solid #ffffff'"/>
    
    <input class="form-button" name="submit" src="assets/templates/client/images/form-submit.jpg" width="84" height="26" type="image" />
    
    </form>


    Any ideas?!

    Thanks
      • 28042 ☆ A M B ☆
      • 24,524 Posts
      This may sound silly, but are you sure you’ve changed the right eForm snippet call? Sometimes if I’m working with a dev site and a live site I’ll get which ones I’m changing mixed up, change the dev site but not the live site or something along those lines. There’s absolutely no reason why the form shouldn’t be mailing to the address set in the snippet tags.

      What is the default site email address (in the configuration, the User tab)?
        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
        • 21122
        • 153 Posts
        Edit: Eugh. Forget this, I was being an idiot.
          • 28042 ☆ A M B ☆
          • 24,524 Posts
          So what was the problem? No matter how silly it may seem, trust me, plenty of others will have stumbled over the same thing and will benefit from being able to see the problem and its solution.
            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