注意:设置调用第三方smtp均需要对方开启smtp效劳,设置正确若不能发送需要检查核实账号密码是否正确。
以下是常见系统设置(注意示例均以qq邮箱做参考,详细替换为自己使用的邮箱)
1、shopex邮箱设置
seoimg.zcit/20190604/15120f586ed7a09810dcb17d4b982541.jpg" style="width: 780px; height: 389px;" />
2、discuz论坛程序
seoimg.zcit/20190604/3e083b63d30a0c86e65e04ed6775d662.jpg" style="width: 780px; height: 326px;" />
另外一种设置方法 smtp效劳器填写ssl://smtp.qq 端口 465
seoimg.zcit/20190604/40e2e9369cf467c234a64252db4fb9de.png" style="width: 780px; height: 107px;" />
腾讯企业邮箱SMTP效劳器地址是smtp.exmail.qq
seoimg.zcit/20190604/bd59e429dcf09021d27457f476dafddd.png" style="width: 780px; height: 183px;" />
3、wordpress程序
wordpress需要调用插件,参考:
4、ECshop程序
seoimg.zcit/20190604/f8edb780fe171a8ce2eb37f9540df910.jpg" style="width: 780px; height: 407px;" />
5、phpcms系统
seoimg.zcit/20190604/ea411b8833a34f66241b52c22e8ec067.jpg" style="width: 772px; height: 469px;" />
6、phpwind系统
seoimg.zcit/20190604/8c2dbd3ac45726acd718fc92dad3c7ea.jpg" style="width: 780px; height: 416px;" />
7、Drupal
①下载SMTP模块,地址:drupal.org/project/smtp
②下载PHPMailer组件。地址:sourceforge/project/showfiles.php?group_id=26031&package_id=252700
③安装SMTP模块。下载PHPMailer后解压到smtp目录
④配置Drupal的SMTP:
以管理员身份进入Drupal后台,选择Administer – Site building – Modules,在模块列表中找到SMTP模块。选中后点击“Save configuration”按钮即可。
配置SMTP模块
以管理员身份,选择Administer – configuration – SMTP Authentication Support
配置说明:
Turn this module on or off: On
SMTP server: SMTP效劳器地址,例如腾讯qq邮箱为smtp.qq
SMTP backup server: 同上
SMTP port: 端口(一般都是25)
Use encrypted protocol: 是否使用SSL,根据第三邮箱决定
Username: [email protected]
Password: 密码
E-mail from address: [email protected]
E-mail from name: 发送邮件标记的名字
全部设置好之后,点击“Save configuration”按钮保存即可。
设置站点发送的邮件地址
以管理员身份,选择Administer – Site configuration – Site information,界面中
E-mail address: 要与第五步的E-mail from address相同。