Error When Adding New Email Account To Gmail: “Account Misconfig: hostname contains unsafe characters.”

I manage all of my email accounts through Gmail, so I often go through the process of adding a new address into my main Gmail account. Today, I came across an annoying little error:

There was a problem connecting to pop.gmail.com
Server returned error: “Account misconfig: hostname contains unsafe characters.”

After doing a quick Google search, it seems there are a lot of people running into this error. Luckily, the solution is really simple.

Solution:

You’ve probably added an extra space after entering the POP Server: “pop.gmail.com”. Just take out that trailing space and your problem is solved!

Here’s a quick screenshot:

Error When Adding New Email Account To Gmail: "Account Misconfig: hostname contains unsafe characters."

Little errors like this can be really annoying, so hopefully this saves you a headache.

24 Comments

    • I had no training spaces but when I removed the incoming mailer server details and entered them manually it worked perfectly. There must have been a hidden character somewhere.
      Many thanks.

  1. I was chatting with support for about an hour, and they still couldn’t resolve this issue. Thank you so much!

    I had a space at the beginning and end of the server name, and seeing your screenshot helped me toubleshoot another problem that would have prevented successful email linking:

    The prompt asks for “username,” and your email address is written in the line above. What they actually want is your email address repeated.

    Thanks again.
    Cheers!

Leave a Reply

Your email address will not be published.