Listen
$to = "[email protected]"; $subject = "Test email"; $message = "This is a test email sent from PHP"; $headers = "From: [email protected]\r\n" . "Reply-To: [email protected]\r\n" . "X-Mailer: PHP/" . phpversion(); mail($to, $subject, $message, $headers); echo "Email sent";