Check the SSL/TLS settings in avast mail shield:
Open avast! → “Real time shields” tab → “Mail Shield” tab → “Expert settings” → SSL settings
This is steps 2 & 3 in DavidR’s link. Change the values to none, if they are not already set.