The Joomla! Forum ™



Forum rules


Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.



Post new topic Reply to topic  [ 44 posts ]  Go to page 1, 2  Next
Author Message
PostPosted: Wed Feb 10, 2010 1:48 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Wed Feb 10, 2010 1:37 pm
Posts: 12
Location: Cairo, EGYPT
Hello every one,

I have spent more than 10 hours working to find a working solution to setup Joomla to use my mails witch is configured to use Google Apps,

After using all normal settings ( SSL / Authontication / SMTP.GMAIL.COM ... ) and more

It have only worked with One settings,
I'm very glade to share it with you

Mailer : SMTP Server
Mail from : youremail@yourdomain ( Write your e-mail here )
From Name : My Name ( Write a normal name here )
Sendmail Path : leave it by default
SMTP Authentication : No
SMTP Security : None
SMTP Port : 25
SMTP Username : youremail@yourdmain ( Your Full e-mail address )
SMTP Password : YourEmailPassword
SMTP Host : gmail-smtp-in.l.google.com

while every settings in every where was write
Authentication : on / Security : SSL / Port : 465 / SMTP host : smtp.gmail.com
it was not working

Now it have worked with the above settings only ;D

I wish this will be helpfull for you
Tamer
Network EGYPT

_________________
Network EGYPT
Pioneers of Web Services in EGYPT
http://www.networkegypt.com/


Top
 Profile  
 
PostPosted: Thu Feb 25, 2010 8:27 pm 
Joomla! Intern
Joomla! Intern

Joined: Tue Sep 09, 2008 6:24 pm
Posts: 73
Thank you but now I get this error:

SMTP Error! Could not connect to SMTP host.
SMTP Error! Could not connect to SMTP host.


Top
 Profile  
 
PostPosted: Thu Feb 25, 2010 11:28 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Wed Feb 10, 2010 1:37 pm
Posts: 12
Location: Cairo, EGYPT
Hi,

Be sure to Enable the ( Authentication - GMail ) plugin

go to your Admin Area,

Extensions --> Plugin Manager --> Authentication - GMail

Then try again

_________________
Network EGYPT
Pioneers of Web Services in EGYPT
http://www.networkegypt.com/


Top
 Profile  
 
PostPosted: Fri Feb 26, 2010 12:30 am 
Joomla! Intern
Joomla! Intern

Joined: Tue Sep 09, 2008 6:24 pm
Posts: 73
Tried it too. nothing works. It seems to send the email to the user when localhost is used as the SMTP Host. Everything else wont work. Must be a problem with joomla! core? I hate jumping into conclusions but I way too frustrated of this thing. Been working and searching for solutions in the past 4 days. Oh well. Thanks you though.


Top
 Profile  
 
PostPosted: Fri Apr 23, 2010 3:38 am 
User avatar
Joomla! Virtuoso
Joomla! Virtuoso

Joined: Sun Apr 06, 2008 4:44 am
Posts: 3289
Location: Seattle, WA, USA
Hi Tamer. Thanks very much! You saved me a lot of time by documenting this here. I set the settings the way you suggest and it works. I didn't have to enable the GMail plugin either. Mark

_________________
Mark Dexter
"Well...how did I get here?"


Top
 Profile  
 
PostPosted: Fri Apr 23, 2010 3:54 am 
User avatar
Joomla! Virtuoso
Joomla! Virtuoso

Joined: Sun Apr 06, 2008 4:44 am
Posts: 3289
Location: Seattle, WA, USA
On more thought, we probably should be careful about putting a live password somewhere where it could be passed around the web.

_________________
Mark Dexter
"Well...how did I get here?"


Top
 Profile  
 
PostPosted: Mon Jun 14, 2010 11:57 am 
Joomla! Fledgling
Joomla! Fledgling

Joined: Tue Sep 09, 2008 6:06 pm
Posts: 2
Worked perfectly. Thank you very much.


Top
 Profile  
 
PostPosted: Mon Jul 05, 2010 8:14 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Thu Aug 31, 2006 9:27 am
Posts: 44
Location: Italy
I don't think sending the password in clear is a good move.. those settings worked ok for me:

Mailer : SMTP Server
Mail from : youremail@yourdomain ( Write your e-mail here )
From Name : My Name ( Write a normal name here )
Sendmail Path : leave it by default
SMTP Authentication : Yes
SMTP Security : SSL
SMTP Port : 465
SMTP Username : youremail@yourdmain ( Your Full e-mail address )
SMTP Password : YourEmailPassword
SMTP Host : smtp.gmail.com


Top
 Profile  
 
PostPosted: Tue Aug 24, 2010 7:54 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Wed Feb 10, 2010 1:37 pm
Posts: 12
Location: Cairo, EGYPT
Hi Every body,

Finally i got the solution for it,

This is need the server to Open SSL ,
and i have configured our server for it

Now it is using gmail normally

Settings on our servers after configured ( working good )

Mailer : SMTP Server
Mail from : youre-mail@yourdomain.com
From Name : Your Name
Sendmail Path : /usr/sbin/sendmail
SMTP Authentication : Yes
SMTP Security : SSL
SMTP Port : 465
SMTP Username : youre-mail@yourdomain.com
SMTP Password : the e-mail password
SMTP Host : smtp.gmail.com

This settings is now working while we are using Google Application to our e-mail

If you need a hosting with this please use our linux servers
http://www.networkegypt.com/linux_web_hosting.php

Thanks a lot for all

_________________
Network EGYPT
Pioneers of Web Services in EGYPT
http://www.networkegypt.com/


Top
 Profile  
 
PostPosted: Tue Aug 24, 2010 8:03 pm 
Joomla! Intern
Joomla! Intern

Joined: Mon Feb 08, 2010 9:27 pm
Posts: 57
This is need the server to Open SSL ,
and i have configured our server for it

im on work computer and should i contact my admin to have it set for me since i cant connect via smtp either


Top
 Profile  
 
PostPosted: Thu Sep 16, 2010 7:59 am 
User avatar
Joomla! Master
Joomla! Master

Joined: Mon Aug 29, 2005 10:17 am
Posts: 11984
Location: Netherlands/ UK/ S'pore/Jakarta/ North America
This will resolve this issue:

1) Openssl must be enabled on your server (most modern hosts have this enabled)

If you have access to php.ini you can check this easy and change if needed: Find
Quote:
;extension=php_openssl.dll
to
Quote:
extension=php_openssl.dll
and

2) Port465 is for SMTPS (secure SMTP connection) and must be allowed in your server's firewall.....

Contact your host!

If either is not present you will get the "SMTP Error! Could not connect to SMTP host."

Leo

_________________
--- Joomla Professional Support Services :: http://gws-desk.com ---
--- Joomla Professional and Specialized Hosting :: http://gws-host.com ---
--- Ready to Roll Joomla! Web Sites : 1 - 7 days only! :: @ gws-market.com ---


Top
 Profile  
 
PostPosted: Thu Sep 16, 2010 1:04 pm 
Joomla! Intern
Joomla! Intern

Joined: Mon Feb 08, 2010 9:27 pm
Posts: 57
my host fixed this. it was on their side.


Top
 Profile  
 
PostPosted: Fri May 20, 2011 6:19 am 
Joomla! Intern
Joomla! Intern

Joined: Fri May 06, 2011 11:39 am
Posts: 88
Location: Gandhinagar, India
@riceandfish:

how did you do it using localhost ?
i am having lots of problems with sending emails.

please help

_________________
Cheers,
R_H

Life's 90% what you're, and 10% what your stars foretell . . . !!!


Top
 Profile  
 
PostPosted: Fri May 20, 2011 9:27 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Wed Feb 10, 2010 1:37 pm
Posts: 12
Location: Cairo, EGYPT
Hello every one ,

Your host must be sure from opening port ( 465 ) for incoming and outgoing in there firewall ,

Also , this must be checked when you using localhost , be sure that there is no Antivirus or firewall closing this port

Regards

_________________
Network EGYPT
Pioneers of Web Services in EGYPT
http://www.networkegypt.com/


Top
 Profile  
 
PostPosted: Fri May 20, 2011 10:06 am 
Joomla! Intern
Joomla! Intern

Joined: Fri May 06, 2011 11:39 am
Posts: 88
Location: Gandhinagar, India
hi tamermf

i am working upon a website to be run in a lan only. so i am these settings:

Mailer : SMTP Server
Mail from : xyz@gmail.com ( my actual gmail id here )
From Name : admin
Sendmail Path : left it as default
SMTP Authentication : Yes
SMTP Security : SSL
SMTP Port : 465
SMTP Username : xyz@gmail.com ( my actual gmail id here )
SMTP Password : ***** ( my gmail id password )
SMTP Host : smtp.gmail.com

you also used these settings i believe.. and it worked for you..
i have used the above settings. also every other possible setting, but i always get ths error:

SMTP Error! Could not connect to SMTP host.

can you tell me what i am doing wrong?

_________________
Cheers,
R_H

Life's 90% what you're, and 10% what your stars foretell . . . !!!


Top
 Profile  
 
PostPosted: Fri May 20, 2011 11:29 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Wed Feb 10, 2010 1:37 pm
Posts: 12
Location: Cairo, EGYPT
Hi ,

I think you have a problem in your LAN ,

can you try to ( telnet smtp.gmail.com 465 )

and see what happen ,

if you have connected then your problem is not in firewall or LAN it will be something in script

if not , then you have to check your LAN settings why it is closed the gmail !!!

Regards

_________________
Network EGYPT
Pioneers of Web Services in EGYPT
http://www.networkegypt.com/


Top
 Profile  
 
PostPosted: Tue May 24, 2011 8:57 am 
Joomla! Intern
Joomla! Intern

Joined: Fri May 06, 2011 11:39 am
Posts: 88
Location: Gandhinagar, India
I used these settings:

mailer: PHP Mail
from email: xyz@gmail.com
from name: xyz
Sendmail path: /usr/sbin/sendmail
SMTP Authentication: No
SMTP Security: None
SMTP Port: 25
SMTP Username: blank
SMTP Password: blank
SMTP Host: localhost

this worked for me fine at my home. and i got an activation email too from the admin.
but when i came back to office next day and used the same settings as above, it didnt work.
it gave me error.

i did telnet localhost 25 in command prompt.
it showed 220 localhost ESMTP server ready.

so i don't understand the problem here. does anyone has any ideas where am i doing mistake?

_________________
Cheers,
R_H

Life's 90% what you're, and 10% what your stars foretell . . . !!!


Top
 Profile  
 
PostPosted: Wed May 25, 2011 3:18 am 
Joomla! Intern
Joomla! Intern

Joined: Fri May 06, 2011 11:39 am
Posts: 88
Location: Gandhinagar, India
anyone ???

_________________
Cheers,
R_H

Life's 90% what you're, and 10% what your stars foretell . . . !!!


Top
 Profile  
 
PostPosted: Wed May 25, 2011 3:56 am 
Joomla! Intern
Joomla! Intern

Joined: Fri May 06, 2011 11:39 am
Posts: 88
Location: Gandhinagar, India
@ tamermf

i tried telnet smtp.gmail.com 465 at home.. it gets connected.
then i used the settings u suggested for smtp.
but again i get error as: could not connect to smtp host.

can you tell me what do to now ?

_________________
Cheers,
R_H

Life's 90% what you're, and 10% what your stars foretell . . . !!!


Top
 Profile  
 
PostPosted: Wed May 25, 2011 6:06 am 
Joomla! Intern
Joomla! Intern

Joined: Fri May 06, 2011 11:39 am
Posts: 88
Location: Gandhinagar, India
after lots of research in joomla mail settings, i just see a deadend now.
nothing actually works.
i will brief here about everything i tried.

first the only setting that has worked for me till now:

mailer: PHP Mail
from email: xyz@gmail.com
from name: xyz
Sendmail path: /usr/sbin/sendmail
SMTP Authentication: No
SMTP Security: None
SMTP Port: 25
SMTP Username: blank
SMTP Password: blank
SMTP Host: localhost

i used these settings at my home laptop. it worked for 2 days only. on 3rd day it again showed smtp errors.

now, i used smtp.gmail.com as smtp host. also tried SSL/TLS everything. nothing works.

can anyone tell me some setting which really works? or any help in this matter?
i would be grateful.

_________________
Cheers,
R_H

Life's 90% what you're, and 10% what your stars foretell . . . !!!


Top
 Profile  
 
PostPosted: Wed Jun 01, 2011 12:16 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Wed Oct 25, 2006 2:34 am
Posts: 14
I tried everything here and more and could not get any form submissions emailed to me. I finally got a good answer from my hosting support; because I'm using Google Apps the MX record is pointing to Google.com, not my domain, and my outbound mail was being blocked. Here's what I did:

-Logged into my site's cpanel
-Created subdomain forms.mydomain.org
-Under MX Entry, selected Automatically Detect Configuration
-Added a record priority 1, destination mydomain.org
-Created duplicates of the addresses I have for the forms now (web@forms.mydomain.org, etc.)
-Created email forwarders for all forms.mydomain.org to go to the email accounts I have set up.
-Changed my user/contact and other form addresses.

Bit of a hassle but now that it's all set up my form emails are coming to me again.


Top
 Profile  
 
PostPosted: Fri Jun 03, 2011 6:08 am 
Joomla! Intern
Joomla! Intern

Joined: Fri May 06, 2011 11:39 am
Posts: 88
Location: Gandhinagar, India
@littlelizard:

do you have some settings which really work in localhost?

_________________
Cheers,
R_H

Life's 90% what you're, and 10% what your stars foretell . . . !!!


Top
 Profile  
 
PostPosted: Mon Jun 06, 2011 11:51 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Wed Oct 25, 2006 2:34 am
Posts: 14
I just left the settings the same - the default PHP mail function. The problem had nothing to do with Joomla actually. Once the mail left Joomla my hosting server was rejecting the send because my MX configuration points to google.com. That was the part I had to get around.

It may be different if I hosted my MX record with my domain registrar, but I don't.

R_H wrote:
@littlelizard:

do you have some settings which really work in localhost?


Top
 Profile  
 
PostPosted: Tue Jun 07, 2011 6:12 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Mon Feb 23, 2009 3:33 pm
Posts: 42
Location: Boston, MA, USA
Thank you all.

I spent hours on this just as I have in the past with other versions of Joomla. I'm now using 1.5.23 and the old fixes just weren't working.

All it was is that SSL wasn't opened in the php.ini.

Thanks again!


Top
 Profile  
 
PostPosted: Tue Jun 07, 2011 7:48 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Wed Mar 10, 2010 12:05 pm
Posts: 37
can you explain what has to be done and post your settings here please


Top
 Profile  
 
PostPosted: Tue Jun 07, 2011 8:12 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Mon Feb 23, 2009 3:33 pm
Posts: 42
Location: Boston, MA, USA
My settings are:

Mailer: SMTP Server
Mail From: "your@email.com"
From: "your name"
Send Path: /usr/sbin/sendmail
SMTP Authentication: Yes
SMTP Security: SSL
SMTP Port: 465
SMTP Username: "your@email.com"
SMTP Password: "xxxxxxx"
SMTP Host: smtp.gmail.com

This is what I had when I started and it wasn't working. I tried everything until I found this post. I returned the settings to above.

Then I removed the ; to activate OpenSSL in the php.ini file on the server.

Look for where all the extensions are listed for:

;extension=php_openssl.dll

Remove the ; so it is activated and reads extension=php_openssl.dll

The it worked. At least for now!!

I'm using 1.5.23 With other versions in the past, I had to hack the php.mailer and other things to get it to work.

Good luck.


Top
 Profile  
 
PostPosted: Tue Jun 07, 2011 8:31 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Wed Mar 10, 2010 12:05 pm
Posts: 37
i have is removed by default in my php.ini
Code:
ini_set('memory_limit','32M');
extension=php_openssl.dll


and same settings you described .... it's doesnt work for me ,why ? >:(


Top
 Profile  
 
PostPosted: Tue Jun 07, 2011 9:02 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Mon Feb 23, 2009 3:33 pm
Posts: 42
Location: Boston, MA, USA
I don't know. The above works on 1.5.23 Do you have an older version? With older version in the past I had to use smtp.googlemail.com I also had to hack the php.mailer once on an older version.

Assuming you are using 1.5.23, I can tell you what else I did prior. I am using google apps for email for my site. I change the mx entries to googles entires. I verified my google email with google. I waited until google verified the mx entries and the aacount was all set before a started wit the smtp setting. That takes hours and hours.

If you just created your google apps account, are you all sure it is set and ready to go?

Did you try just sending an email to that email address to test that it works fine outside of smtp?

I hope this helps. Good luck.

I did not activate the Gmail Authentication plugin.

What error do you get?


Top
 Profile  
 
PostPosted: Tue Jun 07, 2011 9:11 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Wed Mar 10, 2010 12:05 pm
Posts: 37
i have the 23 patch ,why i have already gmail account .What mx records you are talking about and where to set them ??

do i need any plugin to install in joomla for this to work .

Please explain what exaclty are the things i need to make it work

tnx


Top
 Profile  
 
PostPosted: Tue Jun 07, 2011 9:22 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Mon Feb 23, 2009 3:33 pm
Posts: 42
Location: Boston, MA, USA
If you are using google apps as the email for your domain, you have to set up the mx entries on your host so it knows to forward the email to google.

MX entries look something like this: ASPMA.L.GOOGLE.COM

See http://www.google.com/support/a/bin/ans ... swer=33352

Try sending the email address you want an email to make sure it works. If the goggle apps email isn't working outside what you are trying to do with the SMTP settings, I don't think it can work in the SMTP settings.

Remember, it takes google awhile to verify this. I did it yesterday for today smtp settings.

I didn't use any plugin to set this up.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 44 posts ]  Go to page 1, 2  Next



Who is online

Users browsing this forum: mehdi09 and 39 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group