development blog for the wicked stuff we encounter

For some unknown reasons, using Google Mail or Google Mail for your domain with Windows (Live) Mail is a configuration hell. However, as I’m the proud author of ChromeMailer, on some occasions I need to use a real mailer program, for example sending multiple files (which was a true pain in the ass with the web based Gmail since last week), or sending Html mails with inline images.

If you set up your Gmail account according to Gmail Help, it will simply not work, Windows Mail will keep you entertained with silly error messages like  “This could, for example indicate a lack of memory on your system” and other nonsense error messages.

The only working setting is the following:

1) Your IMAP server is imap.googlemail.com not imap.gmail.com (and pop.googlemail.com instead of pop.googlemail.com)

2) Your SMTP server’s port is 587, not 564.

3) Under the IMAP tab, you should uncheck “Store special folders on IMAP server”

Now you can re-sych your accont, and finally you are able to check your emails :)