BCC in mailable not working?

Posted 3 months ago by shez1983

So i had a mailable which was already working - my client asked to be BCC into all emails. now after adding

 return $this->subject($mail['subject'])
            ->bcc(\App\Setting::get(\App\Setting::EMAIL))
            ->view($mail['view']);

the BCC isnt working? i cant seem to see an email going out? in the Mailable Parent class i have logged emails being added and the BCC email IS being added.. :/

 protected function buildRecipients($message)
    {
        foreach (['to', 'cc', 'bcc', 'replyTo'] as $type) {
            foreach ($this->{$type} as $recipient) {
                $message->{$type}($recipient['address'], $recipient['name']);

                info($recipient['address'] . ':' . $recipient['name']); /// HERE 
            } 
        }

        return $this;

just to add normal email still working just BCC isnt.. :/

Please sign in or create an account to participate in this conversation.