home *** CD-ROM | disk | FTP | other *** search
/ Australian Personal Computer 2002 July / APC0702D1.iso / workshop / flash / files / mail.php < prev    next >
Encoding:
PHP Script  |  2002-04-18  |  328 b   |  16 lines

  1. <?
  2.  
  3. $recipient = "yourname@yourcompany.com";
  4. $from = "PHP/FMX Mailer";
  5. $subject = "Subscriber details";
  6.  
  7. // Assemble the message
  8. $body = "Email Address:\n" . $email . "\n\n";
  9. $body .= "Text-only:\n" . $textonly . "\n\n";
  10.  
  11. $headers = "From: Splendos Promo\r\n";
  12.  
  13. // Send the email
  14. mail($recipient, $subject, $body, $headers);
  15.  
  16. ?>