• After I upgraded Contact Form 7 my emails are viewed like this:

    Rispondi a: <info@xyz.it>
    MIME-Version: 1.0
    Content-Type: text/html; charset=UTF-8
    Content-Transfer-Encoding: 8bit

    <h3>Contatto inviato tramite form del sito.</h3>
    <p>Da: testname
    Email: info@xyz.it</p>
    <p>Messaggio:
    testmessage</p>

    I am sure I had checked the “Use HTML Contents” box.
    Any suggestions?

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

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

    (@takayukister)

    What do you have in the Additional Headers field?

    Thread Starter Renzo Bassi

    (@renzobassi)

    Many thanks for the prompt reply, now my Additional headers field is:
    Rispondi a: [your-email]

    I tried different settings, and this is the only one which sends the email without “red error”.
    I tried first using:
    Reply-To: [your-name] <[your-email]>

    or
    Sender: noreply@yourdomain.com
    Reply-To: [your-name] <[your-email]>

    but it didn’t work.
    I use Contact Form 7 in other site with same theme and same server and it always works fine.

    Plugin Author Takayuki Miyoshi

    (@takayukister)

    Remove all the lines from the Additional Headers field since those you have now are invalid for mail header.

    Thread Starter Renzo Bassi

    (@renzobassi)

    If I leave the Additional Headers field blank the red error messages appears.

    Plugin Author Takayuki Miyoshi

    (@takayukister)

    What do you have in the other fields in the Mail tab?

    Thread Starter Renzo Bassi

    (@renzobassi)

    To= myname@mysite.com

    From= [companyname] <wordpress@mysite.com>

    Subject= Contact Form XYZ

    Additional Header= Rispondi a: [your-email]

    Message Body=
    Contact Form XYZ
    From: [companyname] <[your-email]>

    <h3>INFORMAZIONI</h3>
    <p>Nome Utente
    [username] </p>

    <p>Settore
    [settore] </p>

    Exclude lines with blank mail-tags from output= NO
    HTML content= YES

    Plugin Author Takayuki Miyoshi

    (@takayukister)

    Why do you still have this?

    Additional Header= Rispondi a: [your-email]

    What is “Rispondi a”? What do you expect from this?

    Thread Starter Renzo Bassi

    (@renzobassi)

    “Rispondi a” is the italian translation of “Reply-To”…. This is a mistake, I suppose!

    I tryed a lot of different configurations: with “Rispondi a” the mail starts and arrives (but with html error). if I use “Reply-To” the mail doesn’t start, red error.

    In another site using the same theme, same plugins and same server, “Reply-To” works perfectly!

    Plugin Author Takayuki Miyoshi

    (@takayukister)

    That’s odd, but I’m curious to know why you thought to use the “Rispondi a”. I ask this because I think I have seen before other users also use “Rispondi a”. Did anyone suggest you use it?

    Thread Starter Renzo Bassi

    (@renzobassi)

    Nobody suggested it to me, I thought that “Reply-To” was just text shown in the email, so I translated it in italian; probably it’s not just a simple text but it’s a code that affects the right running of the form.

    We got 2 very similar problems on a multisite-installation:

    1. Since updating ContactForm7 no mails were send anymore. The forms we are using are very simple. The frontend-user just has to fill in name and phone-number and can ask for beeing called. Even the senders e-mail-address is not asked for.

    We figured out, that after the update e-mails will be sent if the senders e-mail-address is added. So we added the field.

    2. Now the second problem accurs: the mails are delivered formatted as described by Renzo Bassi:

    [ Moderator note: code fixed. Please wrap code in the backtick character or use the code button. ]

    Reply to: <info@xyz.de>
    MIME-Version: 1.0
    Content-Type: text/html; charset=UTF-8
    Content-Transfer-Encoding: 8bit
    
    <style>
    body, html {
    font-family:Arial, Helvetica, sans-serif;
    line-height:1.5em;
    }
    </style>
    <p>Betreff: Unverbindliche Anfrage

    … and so on

    So we tried turning html-content-type = off and describe the mail form without any html-code. Now mails arrive properly but without the german “Umlaute” (ä, ü, ö, ß) which are very important to get the names right.

    Any idea, how to solve the problem?

    Thanks a lot for your answer in advance!

    Stephan

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    okay, thanks for the immediate answer
    Stephan

Viewing 13 replies - 1 through 13 (of 13 total)

The topic ‘Html missing in mail after upgrading’ is closed to new replies.