HEllo there
i guess i have the common problem with the mail()
<?php
ini_set("SMTP","mail.yahoo.com");
ini_set("sendmail_from","nick_yem@yahoo.com");
if (mail("nick_yem@yahoo.com","This is a test","This is the body","From: user@domain.com\r\nContent-type: text/plain\r\n\r\n"))
{
print "Success";
}
else
{
print "Failed";
}
?>
Failed to connect to mailserver at "mail.yahoo.com" port 587, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set()
someone help please?
thanks