Order confirmation send the CC email?
hammadweb2020 last edited by
Could you help me how to send CC email once i was confirm the order on the front-end. Currently its sending email only for customer i want to add once CC email address when the customer place the order another email address will be notify through email.
rahul last edited by
Inside Admin Package you can find a file name called as 'NewOrderNotification.php' (path = Admin->src->Mail).
In this file, you can see a build method, which is sending email to customers, so you can add your cc here like -
return $this->to($this->order->customer_email, $this->order->customer_full_name) ->cc('[email protected]') ->subject(trans('shop::app.mail.order.subject')) ->view('shop::emails.sales.new-order');