Open milanbog92 opened 1 year ago
facing the same issue
We are using "dacastro4/laravel-gmail" version "dev-master" with Laravel 9. Version 6.0 uses swiftmailer that we had to get rid of due to "Package swiftmailer/swiftmailer is abandoned, you should avoid using it. Use symfony/mailer instead.".
When we try to send email without cc or bcc specified we get following error:
For cc: Symfony\Component\Mime\Email::cc(): Argument #1 must be of type Symfony\Component\Mime\Address|string, array given, called in [HOST]\vendor\dacastro4\laravel-gmail\src\Traits\Replyable.php on line 408
For bcc: Symfony\Component\Mime\Email::bcc(): Argument #1 must be of type Symfony\Component\Mime\Address|string, array given, called in [HOST]\vendor\dacastro4\laravel-gmail\src\Traits\Replyable.php on line 409
Use composer require f9x-tech/laravel-gmail
. I have removed the cc and bcc option
Thanks! We will try this.
We are using "dacastro4/laravel-gmail" version "dev-master" with Laravel 9. Version 6.0 uses swiftmailer that we had to get rid of due to "Package swiftmailer/swiftmailer is abandoned, you should avoid using it. Use symfony/mailer instead.".
When we try to send email without cc or bcc specified we get following error:
For cc: Symfony\Component\Mime\Email::cc(): Argument #1 must be of type Symfony\Component\Mime\Address|string, array given, called in [HOST]\vendor\dacastro4\laravel-gmail\src\Traits\Replyable.php on line 408
For bcc: Symfony\Component\Mime\Email::bcc(): Argument #1 must be of type Symfony\Component\Mime\Address|string, array given, called in [HOST]\vendor\dacastro4\laravel-gmail\src\Traits\Replyable.php on line 409