首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Drupal7的Gmail smtp配置

Drupal7的Gmail smtp配置
EN

Stack Overflow用户
提问于 2012-01-20 17:30:50
回答 5查看 41.4K关注 0票数 24

我想在Drupal7中发送电子邮件。那么,谁知道如何在Drupal7上配置Gmail SMTP?

EN

回答 5

Stack Overflow用户

回答已采纳

发布于 2012-12-09 05:14:51

  1. 下载SMTP模块并将其启用。
  2. 转到管理>配置> SMTP身份验证支持,并设置以下值:

代码语言:javascript
复制
- Turn on the module at the Install options fieldset at the top.
- SMTP server settings:
- smtp server: smtp.gmail.com
- smtp backup server: leave blank.
- smtp port: 465
- use encrypted protocol: select "use SSL"
- SMTP authentication:
- Enter a valid Gmail email address and password.
- Email options:
- Set the same email address that you used at SMTP Authentication. Using a different account is called [Phishing](http://en.wikipedia.org/wiki/Phishing)
- Send test email: set an email to receive a sample email.
- Enable debugging: yes.

  1. 单击提交并验证电子邮件是否已提交以及您是否已收到它。如果没有,请仔细阅读屏幕顶部的调试信息。满意后,记得取消激活调试复选框。
票数 54
EN

Stack Overflow用户

发布于 2016-03-01 23:19:35

步骤1:下载SMTP模块并启用。

步骤2:转到管理>配置>系统> SMTP身份验证支持并设置以下values

  • 打开或关闭此模块:打开。
  • smtp服务器设置:
    • smtp服务器: SSL"

备份服务器:保留为空。

  • smtp端口:465

  • 使用加密协议:选择“使用smtp

  • SMTP身份验证:
    • 输入有效的Gmail电子邮件地址和Gmail

  • 电子邮件选项:
    • 设置与您在SMTP
    • 中使用的相同电子邮件地址

working.

  • Enable
  • 发送测试邮件:设置邮件接收示例邮件,测试模块是否处于调试状态:可以。

步骤2a(可选):此处为:http://www.google.com/settings/security/lesssecureappsAllow Less Secure Apps Access

第三步:点击保存,进入你的收件箱进行检查。如果有一个测试电子邮件,那么它是好的。

注意:您在smpt设置中提供的电子邮件地址必须与站点信息中提供的地址相同。

票数 4
EN

Stack Overflow用户

发布于 2012-01-20 17:41:05

我希望SMTP Authentication Support模块能帮助你。

票数 3
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/8939238

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档