Guest User

Untitled

a guest
Jul 23rd, 2018
166
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. <?php
  2. $subject = "test";
  3. $body = "Hi,\n\nYou have a new message";
  4. if (mail($to, $subject, $body)) {
  5. echo("<p>Message successfully sent!</p>");
  6. } else {
  7. echo("<p>Message delivery failed...</p>");
  8. }
  9. ?>
Add Comment
Please, Sign In to add comment