AI generated:
change the mailnews.smtp.log level in Thunderbird, go to Settings > General, click Config Editor, and then search for mailnews.smtp.loglevel. You can set the value to a number (e.g., 5 for verbose) or All to log SMTP activity. To view the logs, go to Tools > Developer Tools > Error Console