At first it appeared to me in the smtp settings, the username has to be specified as “user_name”, but the comment in the source is naming it “username”.
- :user_name - If your mail server requires authentication, set the username in this setting.
``
https://github.com/rails/rails/blob/master/actionmailer/lib/action_mailer/base.rb#L382
And doing a search on “user_name” and “username” in the repository both give quite some results.
I think making this consistent could make things more clear, and makes typing configuration possible, instead of copy-pasting.