Is this the exact code? It looks like it try to send to the address a. Do you also have a to?
You can try to already set the address in an array (shouldn't be needed but you never know)
->cc(['[email protected]'])
Thanks for the reply Tobias,
Yes, that the exact code, if I use ->cc(['[email protected]']), it give error:
Swift_RfcComplianceException
Address in mailbox given [[] does not comply with RFC 2822, 3.6.2
It's like only read the first string. But when send email via Mail not notification the cc is working well.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community