rakotomandimby

Untitled

Sep 12th, 2013
144
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.35 KB | None | 0 0
  1. <?php
  2. $to      = '[email protected]';
  3. $subject = 'Andrana PHP azafady';
  4. $message = ' The addition of basic headers,\r\n telling the MUA the From and Reply-To addresses';
  5. $headers = 'From: [email protected]' . "\r\n" .
  6.     'Reply-To: [email protected]' . "\r\n" .
  7.     'X-Mailer: PHP/' . phpversion();
  8.  
  9. mail($to, $subject, $message, $headers);
  10. ?>
Advertisement
Add Comment
Please, Sign In to add comment