Replies: 3 comments 2 replies
-
You should check this repository - https://github.com/symfony/sendgrid-mailer - if there is some support for those or not. And if you don't find anything there, then create an issue to main repository - https://github.com/symfony/symfony/issues - about that. |
Beta Was this translation helpful? Give feedback.
-
@abzolv I don't know if it's the same, but Symfony Mailer allows to add metadata and tags to emails. See https://symfony.com/doc/current/mailer.html#adding-tags-and-metadata-to-emails |
Beta Was this translation helpful? Give feedback.
-
custom_args worked fine for me with this line of code:
and make sure you use api transport: |
Beta Was this translation helpful? Give feedback.
-
SendGrid has a feature where you can send custom arguments along with an email. The custom arguments are added to the SendGrid webhook events that they send back to your endpoint.
It does not appear to be currently possible to add the custom arguments when using Symfony Mailer.
Am I missing something, or can it be added as an enhancement?
https://docs.sendgrid.com/for-developers/tracking-events/event#custom-arguments
https://github.com/sendgrid/sendgrid-php/blob/main/examples/helpers/mail/example.php#L46
Beta Was this translation helpful? Give feedback.
All reactions