Karta. Inbound. Formats. Sendgrid
(Karta v1.0.0)
SendGrid's Inbound Parse with "POST the raw, full MIME message"
selected: one multipart/form-data post with the message in email, so
an Action Mailbox SendGrid ingress (params.require(:email)) takes
Karta's post unchanged.
The fields are SendGrid's: email (the message as received), headers
(its header block, raw), to, from, subject, text, html,
envelope (JSON: from and a one-element to for the delivery's
address), content-type, charsets, sender_ip (from the
authentication results), spam_score (the scanner's score,
0.0 when the message was not scanned), spam_report (the scanner's
symbols' descriptions, or empty), attachments (0, as SendGrid sends
when the raw message is posted), attachment-info and content-ids
(empty), and dkim and SPF (the authentication results in SendGrid's
{@domain : result} form).
The URL's user name and password, if it had them, are sent as Basic
authentication; SendGrid's own ingress checks them (actionmailbox and
the configured password).
Summary
Functions
The request's headers and body.
Functions
@spec build( Karta.Inbound.Endpoint.t(), Karta.Inbound.Delivery.t(), Karta.Messages.Message.t(), binary(), Karta.Inbound.MailFields.t(), DateTime.t() ) :: {[{String.t(), String.t()}], binary()}
The request's headers and body.