• I have a website working with Contact Form for one year. And when I recently upgraded to PHP 5.4 the form stopped working. It gives me the red message that says: “the message failed”.

    Is there anything different I should do when upgrading the PHP?

    Here is my form body:

    <ul class="duasColunas emLinha">
    <li>
    <p>Nome (por favor)
        [text* your-name] </p>
    </li>
    <li>
    <p>E-mail (por favor)
        [email* your-email] </p>
    </li>
    <ul class="duasColunas emLinha">
    <li>
    <p>Telefone
        [tel tel-983]</p>
    </li>
    <li>
    <p>Empresa
        [text* sua-empresa] </p>
    </li>
    <div class="pedido">
    
    <h4>Seu pedido</h4>
    <ul class="tresColunas emLinha">
    <li>
    <p>Quantidade
      [number number-429 min:5 max:50000 step:5 placeholder "5"]
    </li>
    <li>
    <p>Cor<div id="myDropdown"></div>
    [text text-769 id:cor]
        </p>
    </li>
    <li>Modelo
    [radio radio-731 id:sexo "Feminino" "Masculino"]
    Tamanho: [select tamanhos id:tamanhosCamisas]
    <h6>Escolha o modelo antes do tamanho.</h6>
    </li>
    <p>Info adicionais
        [textarea your-message 3X3] </p>
    </div>
    [mc4wp_checkbox "Receber promoções e catálogo por e-mail"]
    <p>[submit "Enviar pedido"]</p>
    
    My message body:
    
    <h1>Pedido de cotação de [wpcf7.post_title] através do site</h1>
    Estou interessado em: [wpcf7.post_title]
    
    De: [your-name] <[your-email]>
    
    Empresa: [sua-empresa]
    
    Telefone: [tel-983]
    
    Quantidade: [number-429]
    
    Linha: [wpcf7.post_title]
    
    Modelo: [radio-731]
    
    Tamanho: [tamanhos]
    
    Cor: [text-769]
    
    Mais detalhes:
    [your-message]

    My header:
    To: vendas@camisaspolosalvador.com.br, [your-email]
    From: Camisas Polo Cotação <vendas@camisaspolosalvador.com.br>
    Subject: Pedido de cotação de [wpcf7.post_title] através do site

    On addiciotnal settings:
    on_sent_ok: “ga(‘send’, ‘event’, ‘Contact Form’, ‘sent’);”

    https://wordpress.org/plugins/contact-form-7/

Viewing 1 replies (of 1 total)
  • Though the plugin successfully sends millions of emails every day, there are a host of issues that can stop or delay emails on both the sending and receiving ends. It depends entirely on your local Server & WordPress configuration. You will need to investigate this issue for your particular local configuration.

    See Contact Form 7 Email Issues. There is a link at the bottom of the page to a comprehensive and detailed article which covers many issues. Most people that work through this information appear to be able to resolve their email sending & receiving issues.

Viewing 1 replies (of 1 total)

The topic ‘Stopped working on 5.4 PHP’ is closed to new replies.