Post the screenshots of your mail client settings and avast email shield - SSL accounts settings here. No point in guessing.