OpenCart - not sending emails (notifications or contact page)

前端 未结 5 2027
走了就别回头了
走了就别回头了 2021-01-15 17:03

As far as I can tell, my mail settings are configured correctly but I\'m not receiving any emails, not through the contact form, nor for new customers or any orders that are

5条回答
  •  梦毁少年i
    2021-01-15 17:21

    I had really big frustration with that..

    The problem is really with your server... If you use mail option, than you have to setup mail server on your localhost. But the question is if your ISP supports 25 port for smtp. If not, than you got a problem.

    Second option is to use gmail smtp or hotmail smtp. I tried and failed miserably.. I don't know why gmail doesn't work for me, but I googled whole internet, and found out that people randomly have problems with gmail.

    I was searching and tried last resort.. smtp from my isp. I used smtp of my ISP and set option on SMTP, found out stuff works.

    I called my ISP and they didn't know why gmail doesn't work, but they said to me that they closed 25 port to prevent spammers to send mail with your username.

    TL,DR: Try your own isp smtp if you are working on localhost, if not you ask your hosting provider to fix things for you :)

    PS: You can't disable authorization. PRevious versions of opencart didn't have authorization, which is funny, why didn't they add option to choose with or without authorization.

    If you know coding you can edit mail class in opencart, if not, your only solution is to use your ISP smtp or move to hosting that has their mail server set up with smtp authorization(which is not hard to set up even for your current hosting).

提交回复
热议问题