From the code qa-include/app/emails.php, it appears Q2A uses PHPMailer.
It does not require a local mail server. But if you select SMTP, then it uses the sendmail binary to send the mail to the configured server.
Check this page for doc and troubleshooting:
GitHub - PHPMailer/PHPMailer: The classic email sending library for PHP
Welcome to the Q&A site for Question2Answer.
If you have a question about Q2A, please ask here, in English.
To report a bug, please create a new issue on Github or ask a question here with the bug tag.
If you just want to try Q2A, please use the demo site.