Did you rebuild after you made those changes?
Have a look at Troubleshoot email on a new Discourse install