I have a friend who’'s gmail account is @googlemail.com for some reason. When he tries to sign in, smack throws this exception:
java.lang.Exception: TLS negotiation has failed
which I can’‘t catch and say “Wrong username or password”. Also, if their username has an @ in it, smack probably shouldn’'t auto append "@gmail.com".