Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $from="sample@email.com";
- $subject="HI";
- $too="reza_marandy@yahoo.com";
- $body="adasdasdasd";
- $headers = "MIME-Version: 1.0\n" . "Content-type: text/html; charset=utf-8\r\n";
- $headers .= 'From: ample@email.com' . "\r\n";
- $headers .= 'Return-Path: Sample <ample@email.com> /n';
- $headers .= 'Reply-To: Sample <ample@email.com> /n';
- $headers .= 'X-Mailer: PHP/' . phpversion();
- echo(mail($too, $subject, $body,$headers));
- echo "<center><h2><b><font color=black>Mail sent succesfully!</font></b></h3></center>";
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement