Plugin looks great. I've tried a few that do a similar thing, but I prefer this as it's better for debugging.
I'm running WordPress on a Windows 2008 server with Apache.
wp_mail is working fine but I get the "The e-mail could not be sent.
Possible reason: your host may have disabled the mail() function." error when following the lost password link in WordPress.
In the settings page I've entered the smtp server, port, no authentication. The test send email works perfectly. However, when trying the lost password feature again, I still get the "your host may have disabled the mail() function".
Here is the full message with the debugging turned on:
SMTP -> FROM SERVER:220 SERVER.name.local Microsoft ESMTP MAIL Service ready at Thu, 26 Sep 2013 11:14:46 +0100
SMTP -> FROM SERVER: 250-SERVER.name.local Hello [10.30.1.150] 250-SIZE 250-PIPELINING 250-DSN 250-ENHANCEDSTATUSCODES 250-AUTH LOGIN 250-8BITMIME 250-BINARYMIME 250 CHUNKING
SMTP -> FROM SERVER:250 2.1.0 Sender OK
SMTP -> FROM SERVER:550 5.7.1 Unable to relay
SMTP -> ERROR: RCPT not accepted from server: 550 5.7.1 Unable to relay
The e-mail could not be sent.
Possible reason: your host may have disabled the mail() function.
I've changed the server name just in case it was sensitive information.
Where am I going wrong?