6
Try using SMTPAuth if you are going to supply an SMTP authentication name and password. If you just want to use SMPT, then do not supply a username and password and just fill in mail.yourdaim.com. If you are running from local host, you can leave these blank and just use PHP Mail().
Hope this helps.