i used this code for email
$to = "firstname.lastname@example.org"; $subject = "My subject"; $txt = "Hello world!"; $headers = "From: email@example.com" . "\r\n" . "CC: firstname.lastname@example.org"; 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