Bob Proulx wrote: > The default PHP "mail()" method sends mail by using the system's > /usr/sbin/sendmail interface rather than SMTP. > > https://www.php.net/manual/en/mail.requirements.php > https://www.php.net/manual/en/function.mail.php
Oh! It depends upon the system's php.ini configuration. For which there might be many. Here is an (older) 7.0 system for example. /etc$ find php* -name php.ini php/7.0/cli/php.ini php/7.0/apache2/php.ini php/7.0/fpm/php.ini And the php.ini for both FPM and Apache contains: [mail function] ; For Win32 only. ; http://php.net/smtp SMTP = localhost ; http://php.net/smtp-port smtp_port = 25 My bad for posting my previous misguided information. Sorry about that. Bob