Very simple sample:
// Send a mail to [EMAIL PROTECTED]
$headers = "From: \"Webmaster\"<[EMAIL PROTECTED]>";
$mailtext = trim($_POST["email"]);
$mailtext .= " is joining the family.\n";
mail('[EMAIL PROTECTED]', 'New Registration', $mailtext,
$headers);I am using the "fake sendmail" windows tool.... very simple to configure, maybe a bit slow though.
David Joffrin www.bidnplay.com
From: "issin" <[EMAIL PROTECTED]> To: <[email protected]> Subject: [PHP] send email sample Date: Sat, 19 Mar 2005 15:25:12 +0800
Dear all,
Can you give me a send email sample?
Thanks!
Best Regards,
Issin Yeung
________ Information from NOD32 ________ This message was checked by NOD32 Antivirus System for Linux Mail Server. http://www.nod32.com
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

