Add carbon-copy and blind carbon-copy to notification emails #814
Replies: 2 comments 2 replies
-
Simple Commerce currently only supports the For |
Beta Was this translation helpful? Give feedback.
-
I've just had a look into this & unfortunately it doesn't look like something we can implement in the In order to CC/BCC someone into an email, you'll need to override the
public function toMail($notifiable)
{
return (new MailMessage)
->subject(__(':siteName: Order Confirmation', ['siteName' => config('app.name')]))
->markdown('simple-commerce::emails.customer_order_paid', [
'order' => $this->order,
'site' => $this->order->site(),
])
->cc('[email protected]');
}
Hopefully that'll work for you! |
Beta Was this translation helpful? Give feedback.
-
I'm attempting to add CC or BCC email addresses to email notifications sent out using the following code in
config/simple-commerce.php
Checking mail messages sent out in Telescope (and my inbox) it doesn't look like the additional addresses are being sent an email. I had a look over the
BackOfficeOrderPaid
class and the Laravel notification documentation but I don't see any reason these emails aren't being used.Beta Was this translation helpful? Give feedback.
All reactions