ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

A valid sender email is required

June 17, 2010 6:54am

Subscribe [3]
  • #1 / Jun 17, 2010 6:54am

    Craig Hocking

    4 posts

    I’m testing my contact form in ee 2.0 and keep getting “A valid sender email is required” error.

    Code below:

    {exp:email:contact_form user_recipients="false" recipients="[email protected]" return="http://testwebsite/index.php/contact/" charset="utf-8"}
    <fieldset>
    <legend>We value your feedback</legend>
    <ol>
    <li>
    <label for="name">Name*</label>
    <input id="name" name="from" class="text" type="text" />
    </li>
    <li>
    <label for="email">Email*</label>
    <input id="from" name="email" class="text" type="text" />
    </li>
    <li>
    <label for="phone">Phone</label>
    <input id="phone" name="from" class="text" type="text" />
    </li>     
    <li>
    <label for="message">Message*</label>
    <textarea name="message" cols="25" rows="8" id="message"></textarea>
    </li>
    </ol>
    <input class="submit" type="submit" value="Submit Details" />
    </fieldset>
    {/exp:email:contact_form}
  • #2 / Jun 17, 2010 9:15am

    Sue Crocker

    26054 posts

    If you use the one from the EEDocs, does that work for you?

    http://expressionengine.com/public_beta/docs/modules/email/contact_form.html

  • #3 / Jun 17, 2010 11:51pm

    Craig Hocking

    4 posts

    Hi Sue,

    That seems to have done the trick!

    Thanks for your help.

    Craig

  • #4 / Jun 18, 2010 12:46am

    John Henry Donovan

    12339 posts

    Glad Sue was able to help. Feel free to start a new thread if you have any more questions.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases