• I’m building a new website and using your plugin. Somehow I can’t get line breaks working in the “message” text field in the e-mail.

    Hi there,

    The form is: [textarea* your-message placeholder “Je bericht:”]

    The HTML in the redenered mail is:

    <p style="Margin:0;mso-line-height-rule:exactly;font-family:arial, 'helvetica neue', helvetica, sans-serif;line-height:21px;letter-spacing:0;color:#333333;font-size:14px">[your-message]</p>

    The result when entering a random text is:

    <p style="Margin:0;mso-line-height-rule:exactly;font-family:arial, 'helvetica neue', helvetica, sans-serif;line-height:21px;letter-spacing:0;color:#333333;font-size:14px">Testmails hebben meestal test text. Testtexten om mee te testen en te texten zijn de gekten.

    Ja, probeer dat maar eens 10x te zeggen.
    Hoe werkt het met nieuwe regels?

    Och, het zal vast wel goed zijn.</p>

    It does show empty lines, but because there is no <br/> added, the text is shown as:

    Testmails hebben meestal test text. Testtexten om mee te testen en te texten zijn de gekten. Ja, probeer dat maar eens 10x te zeggen. Hoe werkt het met nieuwe regels? Och, het zal vast wel goed zijn.

    The e-mail has been designed with Stripo. Which I’ve used before on other websites with working line breaks.

    Wp-config.php doesn’t mention “WPCF7_AUTOP” at all. But is this really nessecary?

    The option: “Don’t add automatic line breaks and paragraphs” is NOT checked.

    Somehow other websites I’ve made in the past add the <br/> as line breaks. And those e-mails look the same as how they typed it. But I can’t seem to figure out why it’s not working now?

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.