IMAP is *not* SMTP.
IMAP & POP are /receiving/ e-mail protocols.
SMTP is a /sending/ e-mail protocol.
When you say "sending", I'm guessing that you are not just sending but
both sending and receiving. Your mail poll sends any pending outbound
messages and then checks for new incoming messages. It performs the
SMTP operation okay but then fails on the following IMAP operation.
Do you have the e-mail client configured to reuse the login credentials
from your IMAP session for your SMTP session? Don't. Configure the
SMTP server(s) to specify separate but same login credentials. That is,
don't reuse the login credentials. Specify them anew when using SMTP.
Configure each IMAP and POP account to use its login credentials.
Configure each SMTP account to use its own login credentials (don't
reuse any). Timing can screw up reuse of login credentials.
You did not mention who is your e-mail provider. Some have been
changing over the last few years to demand use of TLS to use their SMTP
server. If your client doesn't support TLS then you can no longer use
that SMTP server. That's what happened to me back when I was still
using Outlook 2003: it does not support TLS but Microsoft changed their
SMTP servers to demand use of TLS. Gmail did the same several years
ago. That means you must configure your e-mail client to use TLS to
connect to their SMTP server. I'm not sure it Auto mode will first try
TLS and then fallback to SSL.
The SMTP server you use is hardly private information. Gmail,
Hotmail/Live/Outlook.com, Inbox.com, etc are all publicly accessible
e-mail servers. Their connection setup is publicly available
information. You did not say whose SMTP server you are trying to use -
so others using the same SMTP server could check what settings they use
to compare against those you configured in the SMTP account defined in
Thunderbird.
Just because you did not change your config in the accounts defined in
your instance of Thunderbird is independent of the e-mail providers
changing their own requirements for protocol, ports, and other login
attributes. They can change any time they want. They may also have
temporary issues. You didn't say how long after experiencing the
problem that you waited to retest using their SMTP server. Sometimes
they do maintenance which means their server(s) are not available for
awhile.