2011年5月5日

How to Configure PHP to Use a Remote SMTP Server for Sending Mail

 

 Configure PHP to Use a Remote SMTP Server for Sending Mail

Note that setting up the internal mail function to use SMTP is
only available on Windows. On other platforms, PHP should use the
locally available sendmail or sendmail drop-in just fine. Alternatively,
you can use the PEAR Mail Package.


A typical configuration might look like:


[mail function]

SMTP = smtp.isp.net

sendmail_from = me@isp.net

没有评论: