Ier, as techie said, if you configure your email account to not use avast! Then you close your email client and run Mail Protection Wizard, besides the automatic configuration you will start ashMaiSv.exe which is the service of avast that allow the emails to be sent.
I just guess if this is not a firewall problem… Do you allow ashMaiSv.exe to connect the Internet? 8)