one thing is clear, you have to check the phpinfo file and see if your settings match those listed in the table exactly. Do you know how to do that? phpinfo is probably installed somewhere in your web folder and you just need to enter the url into a browser and you'll get a printout of all php settings.
If it's not already there, you make a phpinfo file:
<?php
phpinfo();
?>
save it as phpinfo.php and drop the file into your web publishing folder somewhere, anywhere. Then put the url into a web browser and you'll get a page of your php settings for the web server.
Compare the mail configuration settings to the ones above.