Advertisement
Sl4ckerc0de

Untitled

Mar 31st, 2019
381
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.58 KB | None | 0 0
  1. <body bgcolor="black">
  2. <?php
  3. $name = "Check Deliver Mail";
  4. $to = "mantanartis21@gmail.com";
  5. $web="$_SERVER[HTTP_HOST]";
  6. $subject = "Success to Deliver Result";
  7. $body = '
  8. <a href="https://wikipedia.org/">Hello I am Here!</a>
  9. ';
  10. $email = "Check@$web";
  11. $headers = 'From: ' .$email . "\r\n".
  12. $headers = "Content-type: text/html\r\n";
  13. 'Reply-To: ' . $email. "\r\n" .
  14. 'X-Mailer: PHP/' . phpversion();
  15. if (mail($to,$subject,$body,$headers,$name)) {
  16. echo("<font color=lime>Email Sended To => $to </font>");
  17. } else {
  18. echo("<font color=red>Mail Not Supported!</font>");
  19. }
  20. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement