开发者

question about php mail function

开发者 https://www.devze.com 2022-12-16 06:14 出处:网络
what is smtp,smtp_port?and how ca开发者_如何学Cn it get?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 wi

what is smtp,smtp_port?and how ca开发者_如何学Cn it get?


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

0

精彩评论

暂无评论...
验证码 换一张
取 消