I'm getting my system set up to use Sendgrid and I have a question about inbound attachments. When Sendgrid hits my API these are the keys listed in the request:
[
"headers",
"dkim",
"content-ids",
"to",
"html",
"from",
"text",
"sender_ip",
"envelope",
"attachments",
"subject",
"attachment-info",
"charsets",
"SPF",
"attachment1"
]
I've logged each of these to my Laravel log but none of them give me the size and the contents of the attachment.
Sorry if this is a stupid question, but how do I get the size and contents of the attachment? As always, a correct, clearly explained answer will be accepted and upvoted. Thanks in advance.