I was just wondering if you might have had one of the avast paid versions.
The only success I got was on the send test message - this however was before avast was scanning SSL/TLS - when testing with the eicar test file, the message never got sent, but no errors.
I haven't tried it since the introduction of SSL/TLS scanning, I think that just adds a degree of complexity.