-
Notifications
You must be signed in to change notification settings - Fork 623
Closed
Labels
difficulty: unknown or n/afix is unknown in difficultyfix is unknown in difficultytype: questionquestion directed at the libraryquestion directed at the library
Description
Issue Summary
It seems that $response->headers()
does not return an associative array, although #361 and sendgrid/php-http-client#19 say it should
How can we reliably get that value?
(The docs say "When using the Event Webhook, it's a best practice to store your X-Message-ID." so we'll do that, just need to know how to get it. Thanks!)
Steps to Reproduce
- $response = $sendgrid->send($email);
- var_dump($response->headers());
Technical details:
- sendgrid-php Version: 7.2
- PHP Version: 5.6
Metadata
Metadata
Assignees
Labels
difficulty: unknown or n/afix is unknown in difficultyfix is unknown in difficultytype: questionquestion directed at the libraryquestion directed at the library