401
Array
(
[0] => HTTP/1.1 401 Unauthorized
[1] => Server: nginx
[2] => Date: Thu, 09 Apr 2026 14:25:41 GMT
[3] => Content-Type: application/json
[4] => Content-Length: 88
[5] => Connection: keep-alive
[6] => Access-Control-Allow-Origin: https://sendgrid.api-docs.io
[7] => Access-Control-Allow-Methods: POST
[8] => Access-Control-Allow-Headers: Authorization, Content-Type, On-behalf-of, x-sg-elas-acl
[9] => Access-Control-Max-Age: 600
[10] => X-No-CORS-Reason: https://sendgrid.com/docs/Classroom/Basics/API/cors.html
[11] => Strict-Transport-Security: max-age=31536000; includeSubDomains
[12] => Content-Security-Policy: frame-ancestors 'none'
[13] => Cache-Control: no-cache
[14] => X-Content-Type-Options: no-sniff
[15] => Referrer-Policy: strict-origin-when-cross-origin
[16] =>
[17] =>
)
{"errors":[{"message":"Permission denied, wrong credentials","field":null,"help":null}]}
Fatal error: Uncaught Error: Class 'SendGrid\Email' not found in /home/kdlive/public_html/SendGrid/examples/helpers/mail/example.php:39
Stack trace:
#0 /home/kdlive/public_html/SendGrid/examples/helpers/mail/example.php(212): SendGrid\kitchenSink()
#1 /home/kdlive/public_html/SendGrid/examples/helpers/mail/example.php(225): SendGrid\sendKitchenSink()
#2 {main}
thrown in /home/kdlive/public_html/SendGrid/examples/helpers/mail/example.php on line 39