Hi,
i had the same issue with SMTP to Exchange 2016. Solution:
In line 88 of \lib\plugins\smtp\classes\Message.php
Add \r so the result will be
$body = join("\r\n", $lines);
See also
https://github.com/splitbrain/dokuwiki-plugin-smtp/issues/17
Regards