Ask Your Question By Comment We Will Give You Better Solution Soon

Saturday 4 November 2017

PHP Mail Function


$title='Test';
     $body = ' "';
$from='info@test.com';


  $headers = 'From: '.$from.'' . "\r\n" .
              'Reply-To: '.$from.'' . "\r\n" .
  'BCC: '.$from.''. "\r\n" .
 
  'Content-type: text/html; charset=utf-8' . "\r\n" .'X-Mailer: PHP/' . phpversion();
 
              //put your email address here
              mail($email, $title, $body, $headers);

No comments:

Post a Comment