My Fake Mailer

\r\n"; $headers .= "Reply-To: $senderEmail\r\n"; $headers .= "Content-Type: text/plain; charset=utf-8\r\n"; if (mail($to, $subject, $content, $headers)) { echo "

Mail sent successfully to $to.

"; } else { echo "

Failed to send mail. Please try again.

"; } } else { echo "

Invalid email address provided.

"; } } ?>
To Email
Sender Name
Sender Email
Subject
Content