Fix for Rspec SMTP errors

Fix for Rspec SMTP errors