How to modify Smtp configuration, sending fails causing a constant freeze

Your mail server doesn’t have a valid certificate for the hostname your using to access it.

See also Troubleshooting Outgoing Email