Kryptronic Software Support Forum

You are viewing this forum as a guest. Login to an existing account, or create a new account, to reply to topics and to create new topics.

#1 08-31-2012 12:35:57

Uncletim
Member
From: Boulder, CO
Registered: 08-03-2003
Posts: 375
Website

Gmail smtp server problems

Can anyone tell me if this is the correct info to set up gmail accounts. I have tried everything to no avail.
smtp.gmail.com  (also tried localhost)
Port:995 (also tried 587, 465 and ssl)
email address
password

That is what Gmail configuration instructions say to use for non ssl connections.

Does anyone have any experience with this? Normally email accounts take a few minutes to set up. Not this time.

Thanks

Here are the gmail instructions.

Incoming Mail (POP3) Server - requires SSL:    pop.gmail.com
Use SSL: Yes
Port: 995
Outgoing Mail (SMTP) Server - requires TLS3 or SSL:    smtp.gmail.com (use authentication)
Use Authentication: Yes
Port for TLS/STARTTLS: 587
Port for SSL: 465
Account Name:    your full email address (including @gmail.com or @your_domain.com)
Email Address:    your email address (username@gmail.com or username@your_domain.com)
Password:    your Gmail password

Offline

 

#2 09-02-2012 09:46:17

webmaster
Administrator
From: York, PA
Registered: 04-20-2001
Posts: 19804
Website

Re: Gmail smtp server problems

Are you trying to connect to gmail to send mail (using it as an SMTP server)?


Nick Hendler

Offline

 

#3 05-30-2014 06:18:09

juanstg
Member
From: Evansville, IN
Registered: 02-26-2010
Posts: 78

Re: Gmail smtp server problems

What was the solution to this problem. I have tried the different ports & using the ssl:// with those ports and cannot seem to get this to work.

Any help is appreciated!
-Juan



Offline

 

#4 05-31-2014 22:13:31

juanstg
Member
From: Evansville, IN
Registered: 02-26-2010
Posts: 78

Re: Gmail smtp server problems

For those that want the solution that worked for me:
Had to go into the firewall settings on my host and allow port 465 for outbound.  Every host is going to be different so I won't go into detail on how to do it.

-Juan



Offline

 

#5 06-06-2014 16:23:42

webmaster
Administrator
From: York, PA
Registered: 04-20-2001
Posts: 19804
Website

Re: Gmail smtp server problems

Thanks.  465, 587 and 25 usually cover all SMTP.


Nick Hendler

Offline

 

#6 06-23-2014 10:15:26

juanstg
Member
From: Evansville, IN
Registered: 02-26-2010
Posts: 78

Re: Gmail smtp server problems

Interesting development on this issue.

I have been doing testing before going live with this and had other issues (not related to CCP that got me side tracked).  All of a sudden things stopped working.  Could not get credit cards to process and emails were not getting sent.  After reading some things in the forums I decided to run the updater.  This resolved the credit card processing problem but now the Email issue is back.  I have double checked the firewall as mentioned in previous post and all is the same.  However the Software Installer is outputting the following:

"An error was encountered while sending the mail message over the Mail connection. Error Information: authentication failure [SMTP: Invalid response code received from server (code: 535, response: Incorrect authentication data)]"

Any ideas? I have tried the different ports 465, 587, 25.  I even went to gmail setting and setup the SMTP relay service thinking this might be the problem even though it was working a few weeks ago.

Thanks,
Juan



Offline

 

#7 06-23-2014 13:22:53

webmaster
Administrator
From: York, PA
Registered: 04-20-2001
Posts: 19804
Website

Re: Gmail smtp server problems

This works for using gmail SMTP.  I just tested it about a week ago on a build I was working on:

SMTP Server Address: ssl://smtp.gmail.com
SMTP Server Port: 465
SMTP Server Username: Your Full Gmail Address (you@gmail.com)
SMTP Server Password: Your Gmail Password


Nick Hendler

Offline

 

#8 06-23-2014 15:37:37

juanstg
Member
From: Evansville, IN
Registered: 02-26-2010
Posts: 78

Re: Gmail smtp server problems

Hi Nick,

I wonder if its because I am using the business version of gmail (ie.  me@mydomain.com ).  I have all the gmail MX settings setup on my server.

Thanks,
Juan



Offline

 

#9 06-27-2014 16:14:00

webmaster
Administrator
From: York, PA
Registered: 04-20-2001
Posts: 19804
Website

Re: Gmail smtp server problems

The settings I posted will work with an @gmail account or a business account @yourdomain.  Google uses the same settings/server routing for both.


Nick Hendler

Offline

 

#10 02-03-2015 15:31:11

Uncletim
Member
From: Boulder, CO
Registered: 08-03-2003
Posts: 375
Website

Re: Gmail smtp server problems

I cannot get these settings to work at all.
SMTP Server Address: ssl://smtp.gmail.com
SMTP Server Port: 465
SMTP Server Username: Your Full Gmail Address (you@gmail.com)
SMTP Server Password: Your Gmail Password

I checked and these are the correct settings excepty Google says to use smtp.gmail.com, but neither one works.

I am in the installer and trying it to use this Gmail account. I had it working for the last year and all the sudden it will not work.

Worse I am getting an Error 500 Internal Server misconfiguration when clicking on this link.

https://www.mysite.com/store/utilities/ecomrelay.php

Should I run the installer again and reinstall everything?

Offline

 

#11 02-04-2015 08:31:00

webmaster
Administrator
From: York, PA
Registered: 04-20-2001
Posts: 19804
Website

Re: Gmail smtp server problems

First, for the ecomrelay.php issue, it sounds like permissions on the {public}/utilities directory, and all .php files in it are not correct.  Some servers require those files to be permissions level 755.  Do that and verify that script has begun to work again.

Next, configuring gmail is easy, if your server is working right.  Follow these instructions:

https://kryptronic.com/blog/2014/05/sit … mail-smtp/

Which I think you did, please double-check.  If you followed these instructions and gmail will not connect, you have a server issue. Likely due to whatever upgrade or change whacked out the utilities directory.


Nick Hendler

Offline

 

#12 02-04-2015 12:31:25

Uncletim
Member
From: Boulder, CO
Registered: 08-03-2003
Posts: 375
Website

Re: Gmail smtp server problems

Changing permissions to 755 did the trick. However I still cannot configure Gmail using those settings.

Should the installer have 755 rights too? That is what is currently setup.

The installer chokes on the Gmail setup.

So how do I recover from this? What do I tell my ISP if we have a server misconfiguration.

Offline

 

#13 02-05-2015 09:06:21

webmaster
Administrator
From: York, PA
Registered: 04-20-2001
Posts: 19804
Website

Re: Gmail smtp server problems

First, open a ticket with us and I'll get on there and try to debug where the connection is failing. If you go to the host with this they'll have no idea where to look.  I suspect it's a firewall issue, but running a debugger on the PEAR Mail::SMTP class while the installer is trying to connect should tell us definitively.  Are you having issues connecting to anything else?  Like UPS or USPS for rates?


Nick Hendler

Offline

 

#14 02-05-2015 14:45:33

Uncletim
Member
From: Boulder, CO
Registered: 08-03-2003
Posts: 375
Website

Re: Gmail smtp server problems

I will open a ticket, we do not use real time shipping services so I cannot say if those kinds of issues would theoretically be present.

Thanks Nick.

Offline

 

#15 02-05-2015 17:42:11

webmaster
Administrator
From: York, PA
Registered: 04-20-2001
Posts: 19804
Website

Re: Gmail smtp server problems

OK.  I'll look at it.  I just saw the ticket come in.  Thanks.


Nick Hendler

Offline

 

Board footer