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.

No valid recipients for contact form submisson

September 06, 2010 3:02pm

Subscribe [3]
  • #1 / Sep 06, 2010 3:02pm

    codeM

    51 posts

    This question may be related to a resolved thread.

    Hi, I tried various solutions posted and the following test :
    1- sending from communication works no problem
    2- tried changin superadmin email to one from domain hosted

    EE version 2.1 hosted at mediatemple.net

    But i am still getting the no valid recipients error when contact form is submitted :-(

    the generated form code is as follows :

    <form action="http://test.mercilavie.ca/" method="post" name="contactForm" id="contact_form">
    <div class="hiddenFields">
    <input type="hidden" value="21b5b948a56255d8d6ac0640f7b6e7d1ed93b3b8" name="XID">
    <input type="hidden" value="3" name="ACT">
    <input type="hidden" value="" name="RET">
    <input type="hidden" value="system/expressionengine/utilities/email_test_php" name="URI">
    <input type="hidden" value="iF2lQw4ocdE3IR5rP/lTT9tqMh6jNa7Cl4pA/wEBgJY=" name="recipients">
    <input type="hidden" value="dec196b93b4485c0b35d1481277b65c0" name="user_recipients">
    <input type="hidden" value="utf-8" name="charset">
    <input type="hidden" value="" name="redirect">
    <input type="hidden" value="" name="replyto">
    <input type="hidden" value="1" name="site_id">
    </div>
    
    <textarea name="message" id="message" class="input1 area1"></textarea>
    <input type="hidden" value="online contact form" id="subject" name="subject">
    <input type="text" value="" id="name" name="name" class="input1 text1">
    <input type="text" value="" id="from" name="from" class="input1 text1">
    <input type="checkbox" class="input1 check1" id="mailing" name="mailing"><label class="color2">M’INSCRIRE AUX NOUVELLES + INFOLETTRE</label>
    <input type="submit" value="sumbit">
                            
    </form>

    tks for any help

  • #2 / Sep 07, 2010 10:59am

    Sue Crocker

    26054 posts

    codeM, what does the code look like in your template?

  • #3 / Sep 07, 2010 12:33pm

    codeM

    51 posts

    Hello Sue, here is the actual template code. Let me know if you spot something that might cause this to not work. thanks a million

    <div id="contactform_container">
    {exp:email:contact_form user_recipients="true" recipients="[email protected]" charset="utf-8" name="contactForm" replyto="yes"} 
      <textarea class="input1 area1" id="message" name="message"></textarea>
      <input type="hidden" name="subject" id="subject" value="online contact form">
        <input class="input1 text1" type="text" name="name" id="name" value="VOTRE NOM">
    <input class="input1 text1" type="text" name="from" id="from" value="VOTRE ADRESSE COURRIEL">
      <input type="checkbox" name="mailing" id="mailing" class="input1 check1"><label class="color2">M’INSCRIRE AUX NOUVELLES + INFOLETTRE</label>
      <input type="submit" value="sumbit">
    {/exp:email:contact_form}
    </div>
  • #4 / Sep 07, 2010 5:52pm

    Ingmar

    29245 posts

    Can you try with a different email address? Have you tried the stock template example from the docs?

  • #5 / Sep 07, 2010 9:55pm

    codeM

    51 posts

    i scraped my form and built it back up from the scratch docs example and got it working.

    The culprit seems to be : user_recipients=“true” has to be set to user_recipients=“false” .

    I originally had a “to” input field but changed it to specifiyng the recipient in the exp tag instead and did not remove the user_recipient parameter.

    :-(

    thanks for pointing the way back home. 😊

    ttyl

  • #6 / Sep 08, 2010 8:18am

    Sue Crocker

    26054 posts

    Glad Ingmar was able to help. Don’t hesitate to post again as needed.

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

ExpressionEngine News!

#eecms, #events, #releases