I've set up three scripts.
mail()
http://www.leopope.com/mail.php
smtp;
http://www.leopope.com/smtp.mail.php
wp_mail();
http://www.leopope.com/wp.mail.php
In your wp mail smtp i updated the host to:
localhost
from:
smtp.leopope.com
Then sent out an email it worked fine.
But the error message keeps on appearing! How do I get rid of it?