Web Applications Stack Exchange is a question and answer site for power users of web applications. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to backup all my contacts who sent me mails in Gmail. One way of doing is by using IMAPSize to back my account.

But while configuring my account, I get the following error:

Can’t connect to server imap.gmail.com. Host is not valid or port is incorrect

Any idea?

share|improve this question
Have you enabled IMAP in your Gmail settings? Are you using port 993? – John C Aug 8 '12 at 7:39

As John said, make sure you have IMAP enabled in Gmail's settings. If you're connecting to port 993, make sure IMAPSize knows this port expects SSL connections.

When you say you want to "backup all my contacts", do you mean you want to backup emails exchanged with them or just their name and addresses? If its the latter, have a look at context.io/docs/2.0/accounts/contacts

(disclaimer: I'm the founder of Context.IO)

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.