-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Opencart 2.1.0.2 Not Sending Out Confirmation E-Mails #4132
Comments
I can confirm this bug. No error is logged. Email from contact page is sent correctly, while notification fails. It's a clean install with no (third party) extensions. The forums do not provide a proper solution yet. Host: Antagonist, PHP 5.6 |
Your mail parameter is wrong I guess.... Go to cpanel of your website and go to mailing accounts. |
I have the same exact problem, and i don't know what to do. I've changed the SMTP configuration to the recommended by my server and the one recommended bye google, the both doesn't send the F*** mail notification, but i realize that if i register a user with a contact mail that is hosted in the same IP but different domain, it works... Because of this, i thought that my MX records in the DNS was bad, so i re-checked and they were fine. My final test was, send from my webmail a test-mail to another external domain (ex. google, hotmail, etc.), this test was successful, all the test-mails were received fine. In conclussion i can say that the problem isn't the protocol, or the server, or the configuration. I think the problem is in OpenCart, but i cant figure out where. I really hope that my exp can help to others, and i really need a hand here, i need to fix it ASAP. thank you |
7d42e75 fixed this issue for me - ensure you are running the latest code. Check line 46 of upload/catalog/model/account/customer.php in your install and ensure it says "config_mail_smtp_hostname" rather than "config_mail_smtp_host" |
@emersonian |
@rockdroid you need to set 2fac auth on gmail and set a app passowrd and use the app password as your password. I know smtp works because i tested it not so long ago on gmail. i think godaddy maybe have a special configuration and maybe need to use some parameter setting. |
@scw1937 your issue is not the same. hes using smtp your using the default mail fucntion built into php. if your site is not sending out emails you shoudl contact your host as the php mail function needs to be configured in PHP! |
@gbensonii
you posted on the 15th and got a response on the 15th! |
send my staff a support request via the oc web site. i would also like to see whats causing the issue. |
@danielkerr It may be not the same method, but it can still address the same issue. As I mentioned the mail function is working with the contact form, but still no notification mail is sent. This does not indicate a host problem, right? In the mean time, we decided to continue using other webshop software for the next months. Thank you for your answers and good luck with the project. |
@scw1937 maybe you have explained this wrong!
so what your saying is you expect to receive a notification email as well as the buyers email when some one uses the contact us from? notification emails only go out to store owners for receiving new orders. |
i can send emails and nearly every one else can send emails then maybe you should contact your host to complain the hosting is not set up properly!!!! theres a million reasons you can not send emails, maybe your using a free host, maybe you have to set a specific port for your hosting company. maybe your host is blocking html emails! if it works for others it means your issue with the server! |
No need to be frustrated, sir. Maybe I did not explain it very well. If a visitor uses the contact form, an email is sent to the shop owner. This works properly and it uses PHP Mail. However, when a visitor buys a product no notification (mail alert) is sent to the shop owner. This seems strange to me, because I did configure the settings to send a mail alert in that occasion. Remember I am talking about version 2.1.0.2, which is not the most recent version anymore. I agree that, if I would be the only one facing this issue, it is caused by the environment I use. But, once again, for now we're good and I'll look into OpenCart again in the near future. Thank you. |
May be you're not paying attention to admin SETTINGS. Go to SETTINGS and under OPTION tab and set following to YES:
|
Thank you, but I did. New Order Alert Mail is set to yes, and the other alert mail options are set to no. |
Could you please share error log, if generated? |
Please read my first post. There was no error logged. I really appreciate your efforts in order to help me, but as I said we stopped developing a new webshop for now. As this seems a particularly case, there is no need for further investigation. I don't want to waste your time. |
I have the same problem, no email notification after new register or buying products is sent to the customer or to the admin. please help cause im using this solution. |
i just has solve it. if you use gmail it dont send the emails, but, if you change to another mail, it works |
you have to set the app password for gmail to work! |
set app password, where??? On Fri, Jul 8, 2016 at 2:00 PM Daniel Kerr notifications@github.com wrote:
|
Thank you Daniel, but the link is not working for me[image: pasted1] On Sat, Jul 9, 2016 at 12:17 AM Daniel Kerr notifications@github.com
|
google it!!! On 9 July 2016 at 20:05, jmasril notifications@github.com wrote:
|
Might help someone - make sure in cpanel under MX Records email routing is set to "Remote Mail Exchanger" if using email at another provider rather than the server opencart is on. |
Good ... Your MX records must also point to external servers. For example, if you are using GMAIL as external server then MX records would be: 1 ASPMX.L.GOOGLE.COM. Another issue is that most popular email servers such as gmail, yahoo and outlook etc. have implemented strict DMARC (https://dmarc.org/) policy so make sure you setup SPF and DKIM records properly so that your emails don't go to SPAM folder of your customers' inbox. |
I am using opencart 2.3.0.2 I am using my domain name and e-mail so there is no gmail account in my question. All settings done -finfo@xxxx.com, mail.xxx.com etc. It works because when I send mail under marketing menu to all customers they receive mails (in spam but they receive). The problem is whenever I have nev registration or new order I do not receive confirmation e-mail. Yes under mail settings mail allerts chosen as register, order, rewievs. I can say that problem is nor on e-mail settings with my limited programing but sharp logic;) is there any idea except mail settings and gmail isue? |
hi i got same mail problem please help me out , its not sending email to customer. |
anyone there to help me about email on opencart? |
Can you access webserver log files? |
I'm also facing this problem. No confirmation emails being sent to the admin or the customer. I'm using opencart version 2.1.0.1 |
using mail protocol I am not able to send mail through my windows server but able to send through linux cpanel server...can any one help me that how to do it by windows server for opencart.... |
You need a mail protocol app for windows. Are you using IIS or Apache on Windows? |
Hi @RaidoDev I am using IIS for windows server 2008R2 and I am trying to send mail through opencart 2.02.0 version using mail protocol |
hi @rayhan007 , for send email through opencart is simple: For a gmail account: Protocol: SMTP |
hi @webcorvo i am getting this error http://prntscr.com/fqz7yi using smtp Anyone can have a try to do it success for sending mail.... |
@rayhan007 if you upgrade for version Version 2.3.0.2 work´s well ;o) Version 2.3.0.2 is the one that is stable |
@webcorvo I tried for 2.3.0.2 no results...can u give me a proof is it really works for opencart SMTP service? |
yes, i use that one! |
http://www.delsyscanada.com/sites/oc2302/admin |
the problem is in your server provider :o( |
my server is ok....i tried more than 2 server.... |
@webcorvo can u show me ur one from where it is working...it's hard to believe for me that it is working for u |
@webcorvo sent to u |
Sometimes, the mail settings can help. In Store settings under "Mail" set: "from" your store address: Mail Parameters: |
I have the same issue bro.. my customers are not receiving any emails and neither me as a admin any email is coming if any order is there.. can u brothers have a look to my site and help me in this to solve this problem I have already configured MAIl. |
I believe this is a bug.
BACKGROUND ON ISSUE:
I am using Opencart 2.1.0.2 being hosted on a Hostgator Reseller Account and have attached a screenshot of my mail settings below for reference.
I have searched the forums and have not yet come up with any answer that works.
THE ISSUES I AM HAVING:
Assuming that I am correct and the confirmation e-mails are supposed to be sent...then the issue I am having is that those confirmation e-mails are NOT being sent (Or if they are they are never received by the test customers).
Is there a setting somewhere I am supposed to check? Is this a bug?
I have also verified that the System>Settings Page - under the Server Tab - Under the Error Handling section I have:
Display Errors=Yes, Log Errors=Yes, Error Log Filename=error.log
I have reviewed the error.log and it is empty.
Please help!
Thanks in Advance!
Sincerely,
PS. - I have posted this in the OpenCart Forum - http://forum.opencart.com/viewtopic.php?f=190&t=159552 but have not had any responses.
The text was updated successfully, but these errors were encountered: