i used this code for email
$to = "somebody@example.com";
$subject = "My subject";
$txt = "Hello world!";
$headers = "From: webmaster@example.com" . "\r\n" .
"CC: somebodyelse@example.com";
mail($to,$subject,$txt,$headers);
however this error shows up Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set()..
i wanted to fix it without using outlook but the best solution i have googled so far is from this one, Drupal(Im not advertising it lol). However, I think I have to download Drupal. Is there any other way?
BTW i use XAMPP phpMyAdmin - 2.10.3