143 views

VPS增加WordPress发邮件功能

搬迁到VPS,装好LNMP之后,就可以架设WordPress了,但我发现就是缺少发邮件的功能,这样就收不到各种评论不爽,由于WordPress就是调用PHP的mail()函数来发邮件的,所以把sendmail服务再安装上就可以发邮件了。

首先安装sendmail组件:(ubuntu环境)

apt-get install sendmail

最好将sendmail服务设置为开机启动:

chkconfig sendmail on

即可。

现在就可以收到WordPress的评论通知啦!

One thought on “VPS增加WordPress发邮件功能

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre class="">