I'm trying to get SMTP mail to work on my new install. I know I am using the correct settings as I took them from my outlook account. However, I keep getting the:
Failed to connect to smtp.host-name.com
Rather than bug you so much for a fix, is there any file I can throw together where I can directly test if the SMTP mail works?
Kinda Like:
<?php
if(mail("recipient@abc.com","subject","body","From: from@abc.com"))
echo "email sent";
else
echo "email failed";
?>
But for testing the SMTP mail function? Any help here would be much appreciated!
Thanks!
-Ken