Okay, this is odd. I got it to work. In Expert Settings>SSL Accounts, I changed SMTP from TLS to None. It sent the mail but when I tried it again it had changed back to TLS on its own and the mail wouldn't send. I changed it again and it sent, but then it switched back to TLS again.
My Thunderbird security setting is set to None and Use Secure Authentication is unchecked. I tried changing Thunderbird to TLS but Avast behaved the same. Avast shouldn't automatically switch to TLS if Thunderbird is set to None should it?
I tried Repairing but no difference.