简体   繁体   中英

question about php mail function

什么是smtp,smtp_port?如何获取?

If you have a Windows server, you need to specify the address (domain name och IP) to an sending e-mail server. On real operating systems PHP will always use your local Mail Transer Agent (MTA).

This is clearly explained in the PHP manual: http://php.net/manual/en/mail.configuration.php#ini.smtp

Also, this question is better asked on Serverfault.com

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM