php的特性,使我们可以很容易地利用网页来发送邮件,配置php利用本地mail服务器发送电子邮件十分简单,同样,配置php利用远程mail服务器发送电子邮件也很容易。php.ini中相关配置选项是[mail configuration]。只要将smtp服务器和你的电子邮件配置好就可以了(当然这里的服务器必须是没有验证的)。
这里要注意一点,php中的mail函数利用远程smtp服务器发送邮件只有在windows系统才可用。在其它平台上,我们大可以直接用sendmail或者PEAR Mail Package等等。配置好了的话,大约是这样的:
[mail function]
SMTP = smtp.kangzj.net.ru
sendmail_from = kangzj@kangzj.net.ru
Thank you for this article. I’d also like to talk about the fact that it can become hard when you find yourself in school and just starting out to create a long credit standing. There are many college students who are just trying to make it and have a long or positive credit history can be a difficult element to have.