I am configuring a new web server and using sendmail for sending email messages. I am trying to figure out why this code simple, basic code takes over a minute to run:
$to = "firstname.lastname@example.org";
$subject = "Test mail";
$message = "Hello! This is a simple email message.";
$from = "email@example.com";
$headers = "From:" . $from;
echo "Mail Sent.";
When I look in firebug, I can see that it takes a long time for the code to run.
Any ideas? Thank you.