Hi everyone!
I have this code:
<?php
$destinatario="destinatario@domain.com";
$asunto = "Subject";
$cuerpo = "Content of the test message.";
$cabecera .= "MIME-Version: 1.0\r\n";
$cabecera .= "Content-type: text/html; charset=iso-8859-1\r\n";
$cabecera .= "From: reply@domain.com\r\n";
$cabecera .= "Reply-To: reply@domain.com\r\n";
$cabecera .= "X-Mailer: PHP/" . phpversion();
$cabecera .= "Return-Path: emailreturn@domain.com\r\n";
$myreturnpath = "-femailreturn@domain.com";
echo ($destinatario);
echo(" ");
mail($destinatario,$asunto,$cuerpo,$cabecera,$myre turnpath);
}
When I execute, i receive the mail, but if I put a non-existing e-mail address, I don't receive anything.
What's the problem??
Thanx!


LinkBack URL
About LinkBacks


