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("[EMAIL PROTECTED]", "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
[EMAIL PROTECTED]


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

Reply via email to