Yes he says
[mail function] ; For Win32 only. SMTP = localhost smtp_port = 25
but it looks like it's available on macOS too. For test emails, you can install this on your mail server mail provider. If you want to send real mail from localhost, you need a solution that supports SMTP auth, PHPMailer , which is one of them.
source share