STARTTLS cannot be enforced. It will be used automatically if the mail server supports it. The encryption type should be grup to ‘None/STARTTLS’ in this case. See here for an example on how to configure self signed certificates. Dokładniejsze informacje o tym, co należy poprawić, być może znajdują się w https://www.credly.com/users/gearsponge93