Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $to = "name@domain.com";
- $subject = "test";
- $body = "Hi,\n\nYou have a new message";
- if (mail($to, $subject, $body)) {
- echo("<p>Message successfully sent!</p>");
- } else {
- echo("<p>Message delivery failed...</p>");
- }
- ?>
Add Comment
Please, Sign In to add comment