Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/joomla/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
使用Joomla和Google应用程序发送电子邮件_Joomla_Joomla1.5 - Fatal编程技术网

使用Joomla和Google应用程序发送电子邮件

使用Joomla和Google应用程序发送电子邮件,joomla,joomla1.5,Joomla,Joomla1.5,我在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 Pass

我在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

我在谷歌应用程序域中启用了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

我有Virtuemart 1.1.4和Joomla!1.5.15

适用于我的配置是(适用于virtuemart和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
邮件设置

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.22@HostGator这是唯一对我有效的解决方案(Joomla 1.5.152012年9月)。