my php.ini setting is
SMTP = mail.aaa.com.my
smtp_port = 25
sendmail_from= xxx@aaa.com.my
$email = "xxxxx@yahoo.com";
$subject = "my subject!";
$message = "My Message!";
mail($email, $subject, $message, "From: $email");
echo "The email has been sent.";
my problem is i can only send mail to ???@.com.my, i cant send email to others like yahoo or hotmail.