Thanks. there was no POP in the list but there was one "empty" smtp which I removed. The error message did not appear this time. The other thing going on now is: Mail appears to redownload all messages from all accounts 3500) every time it syncs (every 5 minutes). It takes for ever to do. That can't be right... Is it?
Not certain, but this can fix myriad Mail problems...
Safe Boot from the HD, (holding Shift key down at bootup), it will try to repair your Disk Directory while the spinning radian is happening, so let it go, run Disk Utility in Applications>Utilities, then highlight your drive, click on Repair Permissions, then move this folder & file to the Desktop.
Move this Folder to the Desktop...
Move this file to the Desktop...
If that doesn't do it and you can afford to redo all your Rules, try these & reboot...
Note, in 10.5 & up /Users/YourUserName/Library/Caches/Mail/ may or may not exist.