Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $to = "[email protected]";
- $subject = "the subject";
- $message = "Hi;
- $headers = array("From: [email protected]","Reply-To: [email protected]","Cc: [email protected],[email protected]","X-Mailer: PHP/" . phpversion());
- $headers = implode("rn", $headers);
- echo (mail($to, $subject, $message, $headers)) ? 'Message sent!' : 'Message not sent!';
Advertisement
Add Comment
Please, Sign In to add comment