Post by m17ek » Wed Jun 01, 2022 3:10 pm

Hi guys,

Could somebody tell me where are exactly called mail() functions in code for register and order alert? I can't find any code of that in controler/register.php or checkout/order.php

Newbie

Posts

Joined
Mon Apr 23, 2018 7:04 pm

Post by straightlight » Thu Jun 02, 2022 8:40 pm

m17ek wrote:
Wed Jun 01, 2022 3:10 pm
Hi guys,

Could somebody tell me where are exactly called mail() functions in code for register and order alert? I can't find any code of that in controler/register.php or checkout/order.php
OC version. In catalog/controller/mail folder.

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 m17ek » Tue Jun 07, 2022 2:29 pm

OC 3.0.2.0

Thank you, of course I know where is mail code, but I mean, where functions are called when new order is created or new account is register.

Newbie

Posts

Joined
Mon Apr 23, 2018 7:04 pm

Post by straightlight » Tue Jun 07, 2022 9:18 pm

m17ek wrote:
Tue Jun 07, 2022 2:29 pm
OC 3.0.2.0

Thank you, of course I know where is mail code, but I mean, where functions are called when new order is created or new account is register.
It's in the same location. However, it doesn't use functions; it uses methods from the controllers to accomplish this.

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 m17ek » Tue Jun 21, 2022 3:18 pm

We don't understand each other :) I want to know which line exactly call mail method/function when order is places.

My problem is that when somebody place order or register account, store doesn't send confirmation e-mails, I have mail function on (tested on mail() in separate file) and correct configuration in store settings (Mail engine: mail, Mail alerts: register and order, Sender is also correct).

Newbie

Posts

Joined
Mon Apr 23, 2018 7:04 pm

Post by straightlight » Tue Jun 21, 2022 6:15 pm

m17ek wrote:
Tue Jun 21, 2022 3:18 pm
We don't understand each other :) I want to know which line exactly call mail method/function when order is places.

My problem is that when somebody place order or register account, store doesn't send confirmation e-mails, I have mail function on (tested on mail() in separate file) and correct configuration in store settings (Mail engine: mail, Mail alerts: register and order, Sender is also correct).
Then, the issue is with your email settings. I would also suggest to upgrade your OC platform that fixes countless issues since.

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 phpscript7 » Sat Jun 25, 2022 9:11 pm

If it is solved now you write [Solved] in the title - Thank you

New member

Posts

Joined
Wed Jan 04, 2017 3:55 pm
Who is online

Users browsing this forum: No registered users and 167 guests