Enable SMTP class debugging. loglevel will likely need to be adjusted too. See docs.
loglevel
boolean
false