Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $to = 'info@renewsysworld.com';
- $subject = 'Test';
- $headers = "From: Test<info@renewsysworld.com>\n";
- $headers .= "MIME-Version: 1.0\n";
- $headers .= "Content-Type: text/html; charset=ISO-8859-1\n";
- $message = "<html><body>";
- $message .= "<h1>Hello, World!</h1>";
- $message .= "</body></html>";
- mail($to, $subject, $message, $headers);
- echo "Mail sent" ;
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement