If UserName and UserPassword is supplied, this is set to false. If UserName and UserPassword are not supplied and this is set to false then mail is sent to the server anonymously.
If you provide credentials for basic authentication, they are sent to the server in clear text. This can present a security issue because your credentials can be seen, and then used by others.
Assembly: MSBuild.ExtensionPack (in MSBuild.ExtensionPack.dll) Version: 18.104.22.168