Post by pom » Sun Nov 05, 2017 5:28 am

Been trying to get SMTP to work for the last 3 days and I'm about to burst.

I've tried every combination of settings in system/settings/mail but nothing works.

I'm using Centos7, postfix, dovecot, roundcube. All works well there and I can send and receive via SMTP all day long. MX lookup is all fine.
I just can't implement SMTP in opencart.

Sending test newsletters just gives an "internal server error" with no error code to give my any clues.
Customers registering or using the contact form get a blank screen, again no error code.

Using "mail" instead of SMTP works but it's not ideal.

I've searched the forums and googled for ever but I'm at a loss.

Any ideas?

pom
New member

Posts

Joined
Thu Oct 26, 2017 12:12 am

Post by straightlight » Sun Nov 05, 2017 5:29 am

Try SMTP with Gmail configurations. Most merchants uses this option as it does return positive results.

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

Post by pom » Sun Nov 05, 2017 5:49 am

Thanks, that seems to work and will do me in the meantime.

I'm guessing the problem is getting my server config to work with opencart.
Could it be because I'm using virtual email accounts?

pom
New member

Posts

Joined
Thu Oct 26, 2017 12:12 am

Post by straightlight » Sun Nov 05, 2017 5:52 am

Without providing the access logs, since you can't seem to find any email error results according to your first post, it would be harden to track the source of the issue. Email error activities can often be tracked in the server logs by opening the access logs either from your FTP root folder or from your host console.

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

Post by Kiwisouvenirs » Mon Nov 06, 2017 9:30 am

Once it is up and running I would advise you to confirm that the contact page also works with the emails

Newbie

Posts

Joined
Tue Oct 04, 2016 11:16 am

Post by straightlight » Mon Nov 06, 2017 10:32 am

If the email configuration has been properly configured from the Opencart admin and the event database table have the enabled settings from the route you are using on your store, the emails should be sent as expected.

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

Post by pom » Tue Nov 07, 2017 3:57 am

Yeah all works well with the gmail settings; admin and customers receive all the notifications they should.

Clearly there's nothing wrong with my opencart if gmail works, but there doesn't seem to be anything wrong with my email server either. Nothing in the server logs to report.

I guess my server config is outside the scope of this forum.
It'd be nice to have documentation on exactly how the opencart email works, if there's any required TLS settings for example, or what not to have enabled.

If I figure it out I'll report back. Email configurations are the devils work tho :D

pom
New member

Posts

Joined
Thu Oct 26, 2017 12:12 am
Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 65 guests