• When I try to submit the standard Contact Form 7 contact form, everything works just fine, but when I try to submit the following more complex form, I get this error.

    Failed to send your message. Please try later or contact the administrator by another method.

    Form Code

    <p>
        Family Name: [text* family 20/] Phone # [text* home 10/]
    </p>
    <p>
        Address: [text* address 20/] City: [text* city 15/] Zip: [text* zip 6/]
    </p>
    <p>
        Father’s Name: [text* fname 10/] Email: [text* femail 10/]
    </p>
    <p>
        Cell Phone #: [text* fcell 10/] Work Phone: [text* fwork 10/]
    </p>
    <p>
        Mother’s Name [text* mname 10/] Email: [text* memail 10/]
    </p>
    <p>
        Cell Phone #: [text* mcell 10/] Work Phone: [text* mwork 10/]
    </p>
    <p>
        Marital Status: [radio maritalstatus "Married" "Divorced" "Separated" "Widowed"]
    </p>
    <p>
        Emergency Contact 1: [text* ename1 10/] Phone #: [text* enum1 10/]
    </p>
    <p>
        Emergency Contact 2: [text* ename2 10/] Phone #: [text* enum2 10/]</p>
    <p>
        Family Doctor: [text* doct 10/] Phone #: [text* doctnum 10/]
    </p>
    <table>
        <tbody>
            <tr>
                <td align="center">
    
                        <strong><u>Name</u></strong>
    
                </td>
    <td>
    <td/>
                <td align="center">
    
                        <strong><u>DOB</u></strong></br>(mm/dd/yy)
    
                </td>
    <td>
    <td/>
                <td align="center">
    
                        <strong><u>School</u></strong>
    
                </td>
    <td>
    <td/>
                <td align="center">
    
                        <strong><u>Next Grade</u></strong>
    
                </td>
    <td>
    <td/>
                <td align="center">
    
                        <strong><u>T-shirt Size</u></strong></br> (xs,sml, med,lg)
    
                </td>
            </tr>
            <tr>
                <td>
    
                        1. [text c1name 10/]
    
                </td>
    <td>
    <td/>
                <td align="center"> [text* c1dob 6/]
                </td>
    <td>
    <td/>
                <td align="center">[text* c1school 8/]
                </td>
    <td>
    <td/>
                <td align="center">[text* c1grade 2/]
                </td>
    <td>
    <td/>
                <td align="center">[text* c1shirt 2/]
                </td>
            </tr>
            <tr>
                <td>
    
                        2. [text c2name 10/]
    
                </td>
    <td>
    <td/>
                <td align="center">[text c2dob 6/]
                </td>
    <td>
    <td/>
                <td align="center">[text c2school 8/]
                </td>
    <td>
    <td/>
                <td align="center">[text c2grade 2/]
                </td>
    <td>
    <td/>
                <td align="center">[text c2shirt 2/]
                </td>
            </tr>
            <tr>
                <td align="center">
    
                        3. [text c3name 10/]
    
                </td>
    <td>
    <td/>
                <td align="center">[text c3dob 6/]
                </td>
    <td>
    <td/>
                <td align="center">[text c3school 8/]
                </td>
    <td>
    <td/>
                <td align="center">[text c3grade  2/]
                </td>
    <td>
    <td/>
                <td align="center">[text c3shirt text 2/]
                </td>
            </tr>
        </tbody>
    </table>
    <p align="center">
        <strong><u>Additional Information:</u> </br> [textarea add placeholder "Allergies, Special Conditions, Concerns etc."]</p>
    
    <p>[acceptance accept] "I, the parent/guardian of the above child/children, have read the above rules and the attached forms and agree to abide by them."  <br/>
    Signed: [text* signee]
    Date: [date* date-accept]
    </p>
    <p>[submit "Send"]</p>

    Output Message:

    From: [family] < [memail] >
    Subject: Summer 5775 Camp Application
    
    Family Name: [family] Phone #: [home]
    Address: [address], City: [city], NY [zip]
    
    Father’s Name: [fname] Email: [femail]
    Cell Phone #: [fcell] Work Phone: [fwork]
    
    Mother’s Name [mname] Email: [memail]
    Cell Phone #: [mcell] Work Phone: [mwork]
    
    Marital Status: [maritalstatus]
    
    Emergency Contact 1: [ename1] Phone #: [enum1]
    Emergency Contact 2: [ename2] Phone #: [enum2]
    Family Doctor: [doct] Phone #: [doctnum]
    
    <b>Name, DOB, School, Next Grade, T-shirt Size<b>
    1. [c1name], [c1dob], [c1school], [c1grade], [c1shirt]
    2. [c2name], [c2dob], [c2school], [c2grade], [c2shirt]
    3. [c3name], [c3dob], [c3school], [c3grade], [c3shirt]
    
    [add]
    
    [accept]
    "I, the parent/guardian of the above child/children, have read the above rules and the attached forms and agree to abide by them."
    Signed [signee], Date: [date-accept]
    --
    This e-mail was sent from a contact form on ...

    Any ideas?

    https://www.ads-software.com/plugins/contact-form-7/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Takayuki Miyoshi

    (@takayukister)

    How have you set up the mail headers (To, From, Subject, etc.)?

    I usually encounter “failed to send” when a field is filled out wrong, such as text in a number field or something similar, double check evey field is completed according to function and your mail headers are setup correctly.

    Thread Starter mmhdjavaheri

    (@mmhdjavaheri)

    Malil Headers:
    To: me, someone else

    From:
    [family] <[memail]>

    Subject:
    Summer 5775 Application

    Additional headers:
    Sender: [email protected]
    Reply-To: [family] <[memail]>

    Plugin Author Takayuki Miyoshi

    (@takayukister)

    At least, the “memail” field is not an email field but a general text field so the From setting can be invalid and fail to send when the field has no email value.

    See Best Practice to Set Up Mail and recheck your settings.

    tengo el mismo problema, al perecer el plugin está fallando lo he configurado varias veces y manda este mensaje de error, ya contacté con mi proveedor de servidor y me dice que todo está bien y me pide que contacte con el desarrollador, por favor ayuda!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Failed to send your message. Please try later or contact the administrator by an’ is closed to new replies.