SMTP email not working correctly after editing configuration