Closed Aricura closed 5 years ago
Makes sense given #20, but then we need a test here as well to verify it.
I added the test case to verify it. Please have a look and review the changes.
I'm not sure why Circle CI isn't kicking in here; possibly because this is a master->master merge? Not sure. I checked it out locally and the tests all pass, though. Thanks!
Avoid setting an invalid
MAILER_URL
if sending mails is disabled. Use theNULL
transport protocol instead and fallback the host tolocalhost
.smtp://:25
-->null://localhost:25