The php mail () function returns true or false . I get true but the email does not reach the destination and I think it's because of the server configuration. I use a Linux Debian server.
Code:
$para .= '[email protected]';
$título = 'Recordatorio de cumpleaños para Agosto';
$mensaje = 'Hola';
$cabeceras = 'MIME-Version: 1.0' . "\r\n";
$cabeceras .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
$cabeceras .= 'To: Mary , Kelly ' . "\r\n";
$cabeceras .= 'From: Recordatorio ' . "\r\n";
$cabeceras .= 'Cc: [email protected]' . "\r\n";
$cabeceras .= 'Bcc: [email protected]' . "\r\n";
mail($para, $título, $mensaje, $cabeceras);