Por favor ayúdenme para saber que puede estar pasando:
Código :
<? if(!empty($HTTP_POST_VARS['sender_mail']) || !empty($HTTP_POST_VARS['sender_message']) || !empty($HTTP_POST_VARS['sender_subject']) || !empty($HTTP_POST_VARS['sender_name'])) { $to = "[email protected], [email protected], [email protected], [email protected]"; $subject = stripslashes($HTTP_POST_VARS['sender_subject']); $body .= "\n\nACTION\n"; $body .= stripslashes($HTTP_POST_VARS['action']); $body .= "\n\n--------------------------\n"; $body .= "Mail sent by: " . $HTTP_POST_VARS['sender_name'] . " <Email: " . $HTTP_POST_VARS['sender_mail'] . ">\n"; $header = "From: " . $HTTP_POST_VARS['sender_name'] . " <" . $HTTP_POST_VARS['sender_mail'] . ">\n"; $header .= "Reply-To: " . $HTTP_POST_VARS['sender_name'] . " <" . $HTTP_POST_VARS['sender_mail'] . ">\n"; $header .= "X-Mailer: PHP/" . phpversion() . "\n"; $header .= "X-Priority: 1"; if(@mail($to, $subject, $body, $header)) { echo "output=sent"; } else { echo "output=error"; } } else { echo "output=error"; } ?>
Gracias!
John Martin