check: http://www.question2answer.org/qa/41038/smtp-mail-gives-php-warnings

SMTP Test

Note: When using tls, include "tls://" in the SMTPserver field.