dacastro4 / laravel-gmail

Laravel wrapper for the Gmail API
MIT License
293 stars 135 forks source link

Need to specify the cc and bcc every time i need to send an email #253

Open Abdelraman opened 1 year ago

Abdelraman commented 1 year ago

Symfony\Component\Mime\Email::cc(): Argument #1 must be of type Symfony\Component\Mime\Address|string, null given, called in /home/abdeleid/www/sender/vendor/dacastro4/laravel-gmail/src/Traits/Replyable.php on line 408

this error shows up, but I need to send the email without the cc and bcc set

Thanks

sazzadh88 commented 1 year ago

Use composer require f9x-tech/laravel-gmail. I have removed the cc and bcc option

Abdelraman commented 1 year ago

Thanks a lot, will give it a try

web95-moon commented 1 year ago

Hi @sazzadh88 Thanks for these changes now I don't need to add cc bcc every time with your package. But also if i want to send email into cc it's not working could you check this?

sazzadh88 commented 1 year ago

Hi @sazzadh88 Thanks for these changes now I don't need to add cc bcc every time with your package. But also if i want to send email into cc it's not working could you check this?

Sure, I’ll make changes into it.

web95-moon commented 1 year ago

Hi @sazzadh88

if you can help me out with below issue. https://github.com/dacastro4/laravel-gmail/issues/259#issue-1700437396 Thanks in advance.