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 = "email@example.com";
$subject = "Test mail";
$message = "Hello! This is a simple email message.";
$from = "firstname.lastname@example.org";
$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.