什么是 --PHP 混合--.


What is --PHP-mixed--?

我自php代码以来发送电子邮件,它可以工作,但是在我的电子邮件之后我看到

--PHP-mixed-bbb20c9a2db060ffb76ac37bb00dc754;--

那是什么意思?

这是我的代码:

   <?php 
header('Content-Type: text/html; charset=UTF-8');
$enlace = mysql_connect('localhost', 'root', '');
if (!$enlace) {
    die('No se pudo conectar:' . mysql_error());
}
mysql_select_db('mybd');
$sqlcot="SELECT * FROM registros";
$resultado=mysql_query($sqlcot,$enlace);
if($resultado === FALSE) {
    die(mysql_error()); 
    echo mysql_error();
}
require_once('dompdf/AttachMailer.php'); 
while ($dato=mysql_fetch_array($resultado))
{
$nombreinvitado= $dato['nombreinvitado'];
$cuerpo = '
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Documento sin título</title>
</head>
<body><div>
<table align="center" width="716">
  <tr align="center">
    <td style="background-color:#E6E6E3"><img src="http://playss.net/email/images/logo.png" alt="Desarrollado para JC Contadores" style="display:block;" width="250" /></td>
  </tr>
  <tr>
    <td >
    <table width="714">
  <tr>
    <td width="360" height="363"><img width="360" src="http://playss.net/promo1/images/barreras.png" alt="Logo" style="display:block;"/></td>
    <td width="342" align="justify"> <p style="float:right; padding:20px; text-align:justify; font-family:Arial, Helvetica, sans-serif; color:#666">
    <h1 style="font-family:Arial, Helvetica, sans-serif; color:#8A0E13; ">'.$nombreinvitado.'!</h1>
    <ul style="font-family:Arial, Helvetica, sans-serif; font-size:12px; padding:10px;">
    <li style="padding-bottom:10px">Queremos agradecer tu presencia a este Networking realizado por JC Surez & CIA y ser parte de este momento tan importante para nuestra firma.</li> 
<li style="padding-bottom:10px">Esperamos que hayas disfrutado este evento.</li>
<li style="padding-bottom:10px">Te invitamos a que ingreses a nuestro sitio web y conozcas acerca de nuestros servicios. <a href="http://www.jcsuarez.com.mx/"><b>www.jcsuarez.com.mx</b></a> </li>
<li style="padding-bottom:10px">Esperamos poder apoyarte en tu proyecto o empresa.</li>
<li style="padding-bottom:10px">Muchas Gracias.</li>
<br/>
<table align="right" >
<tr align="right"> <td>C.P. Julio Cesar Surez</td> </tr>
<tr align="right"> <td>Director General</td>
</tr>
<tr align="right"> <td>JC Surez & CIA</td>
</tr>
<tr align="right"> <td>Contadores Pblicos</td>
</tr>
 </table>
    </ul>
   </p></td>
  </tr>
</table>
    </td>
  </tr>
  <tr align="center">
    <td style="background-color:#E6E6E3;"><img src="http://playss.net/email/images/wflogo.png" alt="Desarrollado por 3demak.com" style="display:block;" width="200" />
    <table width="600">
  <tr>
  </tr>
</table>
</td>
  </tr>
</table>
</div>
</body>
</html>
';
$email=$dato['correo'];
$mailer = new AttachMailer("myemail@email.com.mx", $email, "Bienvenido ".$nombreinvitado."!", "$cuerpo");
$mailer->send() ? "Enviado": "Problema al enviar";
}
header('Location: indexreg.php?ms=2');
?>

知道吗?谢谢!

我可以看到图像和文本,但我不知道为什么会出现这条线

这是一个边界字符串。它实际上可以是任何字符串,但电子邮件发送应用程序使用它来了解电子邮件的不同部分(纯文本,html)的开始和结束位置。