本文介绍了如何使用谷歌应用程序电子邮件地址配置 Joomla 1.7 SMTP 电子邮件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我安装了全新的 Joomla 1.7.

I have a fresh Joomla 1.7 install.

我有一个有效的、确认的、有效的谷歌应用电子邮件,我可以通过网络客户端登录.我启用了 pop 和 imap.

I have a valid, confirmed, working google apps email that I can log into via the web client.I have pop and imap enabled.

Joomla 全局配置选项卡中邮件设置部分的配置如下:

Configuration within Joomla Global Configuration Tab in the Mail Settings section is as follows:

Mailer: SMTP
From Email: [-me-]@decherney.com
From Name: Test Site Email
Sendmail Path: /usr/sbin/sendmail
SMTP Authentication: Yes
SMTP Security: SSL
SMTP Port: 465
SMTP Username: [-me-]@dechereny.com
SMTP Password: [-password-]
SMTP Host: smtp.gmail.com

每当该站点尝试发送电子邮件时,无论是用于注册、邮寄还是其他通知服务,它都会报告以下内容:

Anytime the site tries to send email whether for registration, mail, or other notification services it reports the following:

SMTP 错误!无法连接到 SMTP 主机.

SMTP Error! Could not connect to SMTP host.

我尝试过使用端口 587,使用 smtp 主机的 phpmail 作为 ssl:smtp.gmail.com:465,以及几乎所有其他网络上提出的解决方案.

I have tried using port 587, using phpmail with the smtp host as ssl:smtp.gmail.com:465, and pretty much every other solution proposed on the net.

如果有人有建议/答案,我将不胜感激.

If anyone has a suggestion/answer I would be much appreciative.

推荐答案

原来我所要做的就是在 php.ini 文件中添加以下行

turns out all I had to do was add the following line to the php.ini file

extension=php_openssl.dll

(或取消注释)

这篇关于如何使用谷歌应用程序电子邮件地址配置 Joomla 1.7 SMTP 电子邮件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-01 23:14