RE: send email sample

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Very simple sample:
		// Send a mail to info@xxxxxxxxxxxx
		$headers = "From: \"Webmaster\"<webmaster@xxxxxxxxxxxx>";
		$mailtext = trim($_POST["email"]);
		$mailtext .= " is joining the family.\n";
		mail('info@xxxxxxxxxxxx', '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" <issin@xxxxxxxxxxxxxx>
To: <php-general@xxxxxxxxxxxxx>
Subject:  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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux