When you are manually setting up a mail server address, the text input field is treating the text like regular paragraph text: putting spaces after full stops, and autocompleting things (e.g. “foo.com” becomes “Foo. Come”). I believe that this is because of the input type.