如何使用Google Apps电子邮件地址配置Joomla 1.7 SMTP电子邮件 [英] How to configure Joomla 1.7 SMTP email with a google apps email address

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

问题描述

我重新安装了Joomla 1.7.

I have a fresh Joomla 1.7 install.

我有一个有效的,已确认有效的Google Apps电子邮件,可以通过网络客户端登录. 我已启用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,将phpmail与smtp主机一起使用,例如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

(或取消注释)

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

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆