Internal log for MailTarget is incorrect

When writting the MailTarget settings to the internal log, incorrect
information is written. The reason is that the logging occurs before the
configuration of the SmtpClient.
closes #237