【问题标题】:Sending email with Joomla and Google Apps使用 Joomla 和 Google Apps 发送电子邮件
【发布时间】: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

标签: joomla joomla1.5


【解决方案1】:

邮件设置

Mailer: SMTP Server Mail from: emailmydomain.com
From Name: John Smith
Sendmail Path: /usr/sbin/sendmail 
SMTP Authentication: Yes 
SMTP Security: None
SMTP Port: 25
SMTP Username: emailmydomain.com
SMTP Password: **
SMTP Host: ssl://smtp.gmail.com:465

【讨论】:

  • 这是唯一为我工作的人(Joomla 1.5.15,2012 年 9 月)。
【解决方案2】:

我有 Virtuemart 1.1.4 和 Joomla! 1.5.15.

对我有用的配置是(对于着德行和 joomla 联系人):

邮件设置

Mailer: SMTP Server
Mail from: email@mydomain.com
From Name: John Smith
Sendmail Path: /usr/sbin/sendmail
SMTP Authentication: Yes
SMTP Security: None
SMTP Port: 25
SMTP Username: email@mydomain.com
SMTP Password: ******
SMTP Host: ssl://smtp.gmail.com:465

【讨论】:

    猜你喜欢
    • 2016-04-12
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2021-11-21
    • 2020-12-15
    相关资源
    最近更新 更多