AbanteCart Community
eCommerce construction => Installation and Configuration => Configuration => Topic started by: alevene on October 01, 2018, 10:32:27 AM
-
I have never been able to get the smtp gmail email system to work. I've followed the instructions carefully, but only get a 500 error message. Ideas?
Example of Gmail SMTP
Mail Protocol – SMTP
SMTP Host - ssl://smtp.gmail.com
SMTP Username - your username (aka username if your email is username@gmail.com) (NOT adding @gmail.com, although both ways fail)
SMTP Password - your gmail password
SMTP Port - 465
-
Hello.
There is a few steps google force users to allow SMTP
https://www.arclab.com/en/kb/email/how-to-enable-imap-pop3-smtp-gmail-account.html
You should enable "Less secure apps" and Enable "IMAP Access"
-
Sadly IMAP and POP3 are both turned on in the gmaail settings section and also to allow for non-secure applications is allowed.
I still get the Step 1 - failed. (Connection error occurred. HTTP-status:500) message and have tried SSL StartTLS, differennt outbound ports but nothing changes.
Any other ideas?
-
Where did you see Step 1 - failed?
I do not remember anything like that in AbanteCart Mail
-
After each and every fiddle with the settings, I sent a test email to myself from the sales section of the Admin menu. It always fails, and unfortunately AbanteCart doesn't have a test system button on the configuration page to make the configuration process easier. I've never had problems with other web programs, just this one.
Is there information about NON SMTP sending anywhere?
-
First of all clean the error log on server and in AbanteCart and try again.
Should be some error in both or one of the log regarding problem
-
I built a test server and found that the ssl gmail settings would not work. I tried the generic mail and it did!
I reset the permissions on the working server, set the mail subsystem to generic WITHOUT any email address modifications, line 2 and it appears to work. The AbanteCart instructions are far too vague and lack screen print examples.
So the takeaway is to reset all of the folders permissions to 0755 and do not bother with gmail, in instance. I'm not sure if there was a permissions issue since I was throwing multiple possible solutions as nothing was working and it worked, without the email modifiers.
Thanks a lot for your ideas. You pointed me in the right direction.
-
Thanks for posting solution
-
I found that it wasn't the real solution. After further work, I found that the PHP in use was v7. When I changed it to v5.6 and the mail subsytem worked properly, although I never got smtp.gmail.com to work.
-
I found that it wasn't the real solution. After further work, I found that the PHP in use was v7. When I changed it to v5.6 and the mail subsytem worked properly, although I never got smtp.gmail.com to work.
Hi. Latest AbanteCart was tested in php 7.2.5 so SMTP is works fine at least in our test environment. Looks like issue is related to your server setup
-
The update to 1.2.13 partially failed so I've been working on that. If the update was robust, or there were clear instructions to do a manual update, they aren't, then 7.x may have worked and saved a lot of time.