Blank Emails php
<p>some emails are coming up blank in my inbox. I think the reason may be here in the source code.
The left image is the one that presents the error.</p>

<p><a href="https://i.stack.imgur.com/QCyPP.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/QCyPP.png" alt="Images"></a></p>

<p>Code:</p>

<pre><code>define( 'OWNER_EMAIL', 'leads@consorciomenegalli.com.br' );

define( 'DONOTREPLY_EMAIL', 'do-not-reply@consorciomenegalli.com.br' );

define( 'OWNER_NAME', 'Menegalli' );

case 'quote-form':   

    # put the email title here
    $title = 'Nova simulação via website';

    # email headers
    $headers = "MIME-Version: 1.0\n".
               "Content-type: text/html; charset=utf-8\n".
               "Content-Transfer-Encoding: 8bit\n".
               "From: ". $_POST['clientName'] ." &lt;". $_POST['clientEmail'] ."&gt;\n".
               "Reply-to: ". $_POST['clientName'] ." &lt;". $_POST['clientEmail'] ."&gt;\n".
               "Date: ". date( "r" ). "\n";

    # appointment values
    $values = $_POST['values'];

    # create rows with values from appointment form
    $rows = '';
    for( $i = 0; $i &lt; count( $values ); $i++ ) {

        $rows .= '&lt;tr&gt;

                      &lt;td style="width: 200px; font-weight: bold; border: 1px solid #eee; padding: 10px;"&gt;'. $values[$i]['name'] .'&lt;/td&gt;
                      &lt;td style="border: 1px solid #eee; padding: 10px;"&gt;'. $values[$i]['value'] .'&lt;/td&gt;

                  &lt;/tr&gt;';
    }

    # email content
    $content = '&lt;table style="width: 600px; font-size: 11px; border-collapse: collapse;"&gt;'. $rows .'&lt;/table&gt;';

    # sending an email
    $result = mail(
        OWNER_EMAIL,
        "=?UTF-8?B?". base64_encode( $title ) ."?=",
        $content,
        $headers
    );

    # if the email wasn't send
    if( $result == false ) {

        # second version of email
        mail(
            OWNER_EMAIL,
            "=?UTF-8?B?". base64_encode( EMAIL_TITLE ) ."?=",
            $content
        );
    }

break;
</code></pre>

<p>I think the email is not picking up <code>. $values[$i]['name'] .</code> and <code>. $values[$i]['value'] .</code></p>