Post by mattlee » Sat Nov 15, 2014 3:55 pm

Hi,
Any one know how to solve this problem? I already check my email address, password and port all correct. When customer make a order I cannot receive any email from system. The error log will show me message like below.

PHP Notice: Error: Password not accepted from server! in /home/XXXXX/public_html/system/library/mail.php on line 286

My mail setting like below: (I am using gmail)

Mail Protocol: SMTP
Mail Paremeter:
SMTP Hostname: ssl://smtp.gmail.com
SMTP Username: xxxxxx@gmail.com
SMTP Password: xxxxx
SMTP Port: 465
SMTP Timeout: 5

Any one got the solution??

Thank,
Matt

New member

Posts

Joined
Thu Nov 13, 2014 11:25 am

Post by pedro_ls » Sat Dec 20, 2014 6:07 am

Allowing less secure apps to access your account will probably solve the problem.
Login to your account, then at the link https://www.google.com/settings/security/lesssecureapps choose allow.

Not an opencart problem! O0

Newbie

Posts

Joined
Sat Dec 20, 2014 5:57 am

Post by mattlee » Wed Dec 31, 2014 5:15 pm

pedro_ls wrote:Allowing less secure apps to access your account will probably solve the problem.
Login to your account, then at the link https://www.google.com/settings/security/lesssecureapps choose allow.

Not an opencart problem! O0
This problem already solved. Just change SMTP to Mail.
Last time old version have to put SMTP. Now version 2.0.x.x must set Mail.

New member

Posts

Joined
Thu Nov 13, 2014 11:25 am

Post by paulfeakins » Fri Jul 10, 2015 12:48 am

Same issue here.

It seems to be Google blocking the login attempt:
https://support.google.com/accounts/ans ... 0255?hl=en

There are various methods to unblock it, such as here:
https://accounts.google.com/b/0/DisplayUnlockCaptcha

Unfortunately though, that won't work for a Google Apps account.

I've been unable to find their definition of "apps or devices that do not use modern security standards" so I'm not sure if this refers to the way OpenCart is connecting through "fsockopen" or the SSL software on the web server itself, although OpenSSL on our server is the latest.

It would be good if OpenCart logged the error but didn't halt execution though as the store user may see the error message or just a blank screen.

UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk


User avatar
Legendary Member
Online

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - London Gatwick, United Kingdom

Post by santanu2019 » Tue Mar 03, 2020 2:07 pm

pedro_ls wrote:
Sat Dec 20, 2014 6:07 am
Allowing less secure apps to access your account will probably solve the problem.
Login to your account, then at the link https://www.google.com/settings/security/lesssecureapps choose allow.

Not an opencart problem! O0
Hello,
I am using the OC version 1.5.5.1 and I am fetching the same problem Notice: Error: Password not accepted from server! in /home/spatzboo/public_html/system/library/mail.php on line 501

SMTP Host: domain.com
SMTP Username: hello@domain.com
SMTP Password: hello123
SMTP Port: 25
SMTP Timeout: 5

Screenshot
Image

Please help me

New member

Posts

Joined
Wed Jul 03, 2019 7:42 pm

Post by IP_CAM » Tue Mar 03, 2020 5:02 pm

Try SMTP Port 587 or 465

My Github OC Site: https://github.com/IP-CAM
5'600 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by straightlight » Tue Mar 03, 2020 7:01 pm

If you use cPanel, with your web host, simply go to: Email Accounts and click on: Manage on the specific email account. Then, follow the email configurations template. If you use SSL on your domain, also ensure to put: ssl:// in front of the hostname in your admin - > systems - > settings - > edit settings - > Mail tab if using port 465. If port 587, some hosts might still consider the use of ssl:// still. Otherwise, try with: tls:// .

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON
Who is online

Users browsing this forum: No registered users and 3 guests