What mail program do you use ? What error message do you see when you click Cancel in Login dialog ?
Anyway, send me please the file C:\Program Files\ALWIL Software\Avast4\Data\log\aswMaiSv.log.

peterka@asw.cz