Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $to = "andresdroid@gmail.com";
- $subject = "Testing";
- $message = 'Test';
- $from = "test <test@test.net>";
- $reply = "test@test.net";
- $headers = "From: $from\r\n";
- $headers = "Reply-To: $reply\r\n";
- $headers = "Return-Path: $reply\r\n";
- $headers = "Envelope-from: $reply\r\n";
- $headers .= "MIME-Version: 1.0\r\n";
- $headers .= "Content-Type: text/html; charset=ISO-8859-1\r\n";
- mail($to,$subject,$message,$headers,"-f $reply");
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement