Dude as far as Im aware of, XAMPP does not need any config to send emails. It all depends on your APPLICATIONS CODE (non related to this forum).
Lets say you're using PHP, save this as a .php file and put it in the htdocs folder with yout XAMPP apache on:
- Code: Select all
<?php
$to = "YOUREMAIL@example.com";
$subject = "Test mail from XAMPP";
$message = "Hello! This is a simple email message.";
$from = "steve@apple.com";
$headers = "From:" . $from;
if(mail($to,$subject,$message,$headers)) {
echo "Mail Sent.";
} else {
echo "Oops, the mail was ** NOT ** sent";
}
?>
This should give you some feedback on your mail situation. Good luck.