茶话会~

  • 友情链接
  • 下午茶~
    • 写真集
    • 视频集
    • PC游戏
    • 通关密码
  • 软件
    • 办公软件
    • 其它软件
  • 工作
    • 笔记随笔
  • 考试链接
  • 登录/注册
落雪成碑
我感兴趣的都在这里~
  1. 首页
  2. 工作
  3. 正文

wordpress配置smtp邮件设置

2021年9月5日 1289点热度 1人点赞 0条评论

开启smtp设置,能够让邮箱注册。

在系统后台修改邮件配置文件

vi /etc/mail
set from=luoxuechengbei@qq.com  #填写你的邮箱
set smtp=smtps://smtp.qq.com:465  #此处是qq的smtp服务器
set smtp-auth-user=luoxuechengbei@qq  #填写你的邮箱
set smtp-auth-password=cdyrvbbjg qwer   #填写你的客户端认证密码
set smtp-auth=login
set ssl-verify=ignore
set nss-config-dir=/root/.certs

yum install -y nss-tools #生成证书软件

mkdir -p /root/.certs/ #创建文件夹,生成证书
echo -n | openssl s_client -connect smtp.qq.com:465 | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' > ~/.certs/qq.crt
certutil -A -n "GeoTrust Global CA" -t "C,," -d ~/.certs -i ~/.certs/qq.crt
certutil -L -d /root/.certs

cd /root/.certs
certutil -A -n "GeoTrust SSL CA - G3" -t "Pu,Pu,Pu" -d ./ -i qq.crt

几个好用插件
Easy WP SMTP
WP-China-Yes

 

标签: 工作
最后更新:2022年6月27日

落雪成碑

We have dedicated everything.

点赞
下一篇 >

文章评论

您需要 登录 之后才可以评论

COPYRIGHT © 2021 www.kissloli.cn ALL RIGHTS RESERVED.

Theme Kratos Made By Seaton Jiang

冀ICP备2021020287号

冀公网安备 13012802000134号