You can configure the behavior of the mail functions in php via the php.ini, and some can be set with ini_set
(per http://www.php.net/manual/en/configuration.changes.modes.php )
Email configuration options can be found here: http://www.php.net/manual/en/mail.configuration.php
That's because it uses the local OS "mail" command. It uses whatever the operating system is configured to use. If you want to use and SMTP server, name and password, use SwiftMailer.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.