This topic can be removed.
The latest version of IO::Socket::SSL is installed. It uses Net::SSLeay, which causes an error, ‘Can’t load C:/Perl-5.36.0/site/lib/auto/Net/SSLeay/SSLeay.dll for module Net::SSLeay’. That results in Net::SMTP detecting that IO::Socket::SSL needs to be installed.
I was misled by the message that Net;;SMTP puts out, but that would not have happened if there was no issue with loading the dll. The dll issue is covered in another topic, hence there is no longer a need for this one.