【发布时间】:2009-09-28 17:06:02
【问题描述】:
我在 Joomla 全局配置面板中有下一个设置。
**Mail Settings**
Mailer: SMTP Server
Mail from: email@mydomain.com
From Name: John Smith
Sendmail Path:
SMTP Authentication: Yes
SMTP Security: SSL
SMTP Port: 465
SMTP Username: email@mydomain.com
SMTP Password: ******
SMTP Host: gmail-smtp-in.l.google.com
我正在运行 Joomla 1.5.14。
我在我的 Google Apps 域中启用了 IMAP 和 POP。
当我尝试通过单击小信封图标发送带有文章链接的电子邮件时,我会收到下一个反馈。 “电子邮件无法正确发送”。 SMTP 验证似乎有效,因为我没有收到任何 SMTP 错误,但未发送电子邮件。任何想法都将不胜感激!
我已将 SMTP 主机作为 smtp.gmail.com 进行了测试,但没有成功。
我尝试过将 sendmail 定义为 /usr/sbin/postfix 但没有成功。
解决方案
将 sendmail 路径设置为 sendmail 命令或将 sendmail 指向 postfix(如果您安装了 postfix)。
将 SMTP 主机设置为 smtp.gmail.com。我看起来像:
**Mail Settings**
Mailer: SMTP Server
Mail from: email@mydomain.com
From Name: John Smith
Sendmail Path: /usr/sbin/sendmail
SMTP Authentication: Yes
SMTP Security: SSL
SMTP Port: 465
SMTP Username: email@mydomain.com
SMTP Password: ******
SMTP Host: smtp.gmail.com
【问题讨论】:
-
建议的解决方案对我有用:Joomla 1.5.22 @ HostGator