Just got it working this morning. The servers were overloaded yesterday so it wasn't working and that may have been your problem too, but here are my settings
Username: your @me.com address username (email address without the @me.com on the end)
Password: Apple ID Password
Incoming server: imap.mail.me.com
NOT checked: Override default port
CHECK: Use SSL to connect
NOT checked: Always use secure password
Outcoing server: smtp.mail.me.com : 587
CHECK: Overide Default Port (will allow you to change to 587 above)
CHECK: Use SSL to connect
This is what worked for me in the end.