subhash
subhash

Reputation: 11

question about php mail function

what is smtp,smtp_port?and how can it get?

Upvotes: 0

Views: 74

Answers (1)

Emil Vikström
Emil Vikström

Reputation: 91902

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

Upvotes: 1

Related Questions