include("lib/header.php"); ?> $ms = array_pop($_POST); $ty = array_pop($_POST); $em = array_pop($_POST); $na = array_pop($_POST); $dc = array_pop($_POST); $emaila[ 3 ] = "smandeal@mandeal.com"; if( $dc == 1 ) { $headers = 'From: ' . $em . "\r\n" . 'Reply-To: ' . $em . "\r\n" . 'X-Mailer: PHP/' . phpversion(); while( $addr = array_pop($emaila) ) { mail($addr, "Message via Mandeal.Com", "Message From: $na\nTopic: $ty\nMessage:\n\n$ms\n", $headers); } $optional = "
Thank you, $na, for your message.
An email has been sent to Stelian.
He will contact you as soon as he can.
Thank you again.
include("lib/left.php"); ?> |
|
include("lib/right.php"); ?> |