How to configure Joomla 1.7 SMTP email with a google apps email address

南楼画角 提交于 2020-01-04 06:27:49

问题


I have a fresh Joomla 1.7 install.

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

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 Error! Could not connect to SMTP host.

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.


回答1:


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

extension=php_openssl.dll

(or uncomment it)




回答2:


Try setting the SendMail Path to : smtp.gmail.com

Everything else looks good.



来源:https://stackoverflow.com/questions/7600390/how-to-configure-joomla-1-7-smtp-email-with-a-google-apps-email-address

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!