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.

Contact Form: No Valid Email Address

June 21, 2011 2:43pm

Subscribe [3]
  • #1 / Jun 21, 2011 2:43pm

    Ryan Faubion

    81 posts

    So I’m at a bit of an impasse here with the contact form. Here’s my code

    <div id="panel_contents">
                            {exp:email:contact_form recipients='[email protected]' return='site/thanks' charset='utf-8'}
                                <h2>USALIFT.com</h2>
    <p>                            <br />
                                    © 2011 Safetylane Equipment Corporation<br />
                                    <br />
    All rights reserved<br />
                                    <br />
    Phone: 812.333.8000 – <a href="mailto:[email protected]">[email protected]</a><br />
                                <br />
                            </div>    <br />
                            <div id="panel_contents"><br />
                                <div class="inputWrapper"><br />
                                  <label for="title">Full Name</label><br />
                                  <input type="text" name="title" id="title" /><br />
                                </div><br />
                                <div class="inputWrapper"><br />
                                  <label for="from">Email Address</label><br />
                                  <input type="text" id="from" name="from" /><br />
                                </div><br />
                                <div class="hidden"><br />
                                  <label for="subject">Subject: USALift Contact Form</label><br />
                                </div><br />
                                <div class="inputWrapper"><br />
                                  <label for="phone">Phone Number</label><br />
                                  <input type="text" name="phone" /><br />
                                </div>            <br />
                            </div><br />
                            <div id="panel_contents" class="rightLogin"><br />
                                <label for="message">Message</label><br />
                              <br />
    <textarea id="message" name="message" rows="10" cols="51"></textarea><br />
                              <input class="submitButton" name="submit" type='submit'/><br />
                            </div>    <br />
                            <div class="clear"></div><br />
                            {/exp:email:contact_form}    <br />
                          </div>

    This is continually throwing a “no valid email address” error.

    So I then plugged in the generic contact form from the user guide and got the same thing. OOF! Any idea of what is going on here?

    Thanks!

  • #2 / Jun 21, 2011 8:22pm

    lebisol

    2234 posts

    Taking your code literally…I would say ‘[email protected]’ is not a valid address 😊

  • #3 / Jun 21, 2011 8:47pm

    Ryan Faubion

    81 posts

    Heh, right. I put that there to hide the innocent.

  • #4 / Jun 21, 2011 9:14pm

    lebisol

    2234 posts

    Oh but what about ‘peter@’? 😊
    Mailto tag is no encryption despite the term thrown around as feature.

    I did a copy-paste of your code and it worked just fine, the only thing I replaced is recipient ‘[email protected]’.
    How is your email config? Any other mail related issues such as comments and notifications?

  • #5 / Jun 21, 2011 10:16pm

    Ryan Faubion

    81 posts

    i got it sorted out. No idea what the problem was. Tried again and it worked great.

  • #6 / Jun 22, 2011 12:19am

    lebisol

    2234 posts

    Hey alright, good to hear.

  • #7 / Jun 22, 2011 5:18am

    John Henry Donovan

    12339 posts

    Thanks for the update. 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