ff-streaming-platform

git clone git://archive.git.mtrnord.blog/MTRNord/ff-streaming-platform.git
Log | Files | Refs | README | LICENSE

sendemail.php (596B)


      1 <?php
      2 $name       = @trim(stripslashes($_POST['name'])); 
      3 $from       = @trim(stripslashes($_POST['email'])); 
      4 $subject    = @trim(stripslashes($_POST['subject'])); 
      5 $message    = @trim(stripslashes($_POST['message'])); 
      6 $to   		= 'email@email.com';//replace with your email
      7 
      8 $headers   = array();
      9 $headers[] = "MIME-Version: 1.0";
     10 $headers[] = "Content-type: text/plain; charset=iso-8859-1";
     11 $headers[] = "From: {$name} <{$from}>";
     12 $headers[] = "Reply-To: <{$from}>";
     13 $headers[] = "Subject: {$subject}";
     14 $headers[] = "X-Mailer: PHP/".phpversion();
     15 
     16 mail($to, $subject, $message, $headers);
     17 
     18 die;