home *** CD-ROM | disk | FTP | other *** search
- <?
-
- $recipient = "yourname@yourcompany.com";
- $from = "PHP/FMX Mailer";
- $subject = "Subscriber details";
-
- // Assemble the message
- $body = "Email Address:\n" . $email . "\n\n";
- $body .= "Text-only:\n" . $textonly . "\n\n";
-
- $headers = "From: Splendos Promo\r\n";
-
- // Send the email
- mail($recipient, $subject, $body, $headers);
-
- ?>