dacastro4 / laravel-gmail

Laravel wrapper for the Gmail API
MIT License
289 stars 133 forks source link

Getting error while replying to email #259

Closed web95-moon closed 1 year ago

web95-moon commented 1 year ago

I am getting error while replying to email with this package.

Symfony\Component\Mime\Header\Headers::addTextHeader(): Argument #2 ($value) must be of type string, null given,

Below is the code screenshot that i am doing

image

I have also check source code and where i found problem is stated in below screenshot. Getting null for "References" Header.

image

Any help is appreciated.

web95-moon commented 1 year ago

php version:- 8.0.2 Laravel version:- 9.19 dacastro4/laravel-gmail version:- ^6.1

with the above package and configuration, I am trying to send a reply to the email but getting errors as stated below screenshot

Below is the error I am getting image

And below is the screenshot of code. image

IbaiEtxebarria commented 5 months ago

Same problem here, any solution? No problems with sending emails but happens the same error when trying to reply.

I am trying in laravel 10 with PHP 8.1.27 and dacastro4/laravel-gmail dev-master

web95-moon commented 5 months ago

i have solved it by taking fork of symfony package and change in source code of symfony package. Workaround solution applied not recommended

IbaiEtxebarria commented 5 months ago

I did the same but I was hopping someone had a better solution.