Data hosted with ♥ by
Pastebin.com
-
Download Raw
-
See Original
<?php
$to
=
"someone@example.com"
;
$subject
=
"Test mail"
;
$message
=
"Hello! This is a simple email message."
;
$from
=
"someonelse@example.com"
;
$headers
=
"From:"
.
$from
;
mail
(
$to
,
$subject
,
$message
,
$headers
)
;
echo
"Mail Sent."
;
?>