[NB] Mail() question

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

 



I need to send myself an email in one of my PHP page.
So i wrote the following code:

$result = ini_set(SMTP, "smtp.earthlink.net");
	
if ($result)
{
	echo ini_get(SMTP);
	$result = mail("tonyswu@earthlink.net", "test", "test123");
	
	if ($result)
		echo "mail sent";
}

It always print "mail sent", but I never got the email.
So I was wondering if Mail() request any send mail program to work.
Can anyone tell me?
Thanks.

Tony S. Wu
tonyswu@mac.com


--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux