s-ichikawa / laravel-sendgrid-driver

This library can add sendgrid driver into the laravel's mail configure.
MIT License
391 stars 91 forks source link

Custom/Unique argument not received on sendgrid #153

Open iambpuranik opened 3 years ago

iambpuranik commented 3 years ago

Hi,

I am passing the "p_user_id" as follows but "p_user_id" is not received at the SendGrid end. (Integrated into the Mailable as per - https://github.com/s-ichikawa/laravel-sendgrid-driver#use-in-mailable)

snippet - $this->view('test') ->subject('test') ->from('no-reply@test.com') ->to(['test@test.com']) ->sendgrid([ 'custom_args' => [ 'p_user_id' => "123456", ], ]);

Jarrod-Stone commented 3 years ago

I was also having this issue, and alwintoms solution registering the service provider manually fixed it for me.

https://github.com/s-ichikawa/laravel-sendgrid-driver/issues/133

iambpuranik commented 3 years ago

@Jarrod-Stone tried but still not working.