Ver Mensaje Individual
  #1 (permalink)  
Antiguo 27/12/2012, 10:24
chirica
 
Fecha de Ingreso: abril-2012
Ubicación: Soy de Utiel de erasmus en Varsovia
Mensajes: 49
Antigüedad: 12 años
Puntos: 2
Warning: mail() [function.mail]:

Buenas again, he cambiado esta semana de hosting y cada día me aparece un nuevo imprevisto, esta vez es a la hora de enviar correo html mediante una función...este es el error que me manda

Cita:
Warning: mail() [function.mail]: SMTP server response: 550 Requested action not taken: mailbox unavailable or not local in C:\inetpub\vhosts\caxris.es\httpdocs\includes\func ion.php on line 306
la función que hace la llamada es esta y repito que en mi anterior hosting funcionaba perfectamente:

Código:
function CorreoHTML($usuario, $texto, $asunto)
 {
	
	$mensaje = '<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type: text/html; charset=iso-8859-1\n" />
<title>Documento sin título</title>
</head>

<body>
<table width="100%" border="0">
  <tr>
     <td> <img src="caxris.es/images/logotexto.png" width="335" height="93" /></td>
  </tr>
  <tr>
    
    <td>
    <p>Gracias por visitarnos</p>

</table>
</body>
</html>';


     $cabeceras  = 'MIME-Version:1.0' . "\n";
	 $cabeceras .= 'Content-type: text/html; charset=iso-8859-1\n' . "\n";
	
	 $cabeceras .= 'From: [email protected]' . "\n";
	 $cabeceras .= 'Bcc: [email protected]' . "\n";

	 mail($usuario, $asunto, $texto, $cabeceras);
	 
	 
}
saludos y a ver si me pueden ayudar..