How do I get more detailed Lua errors?

We don’t automatically create one, but I suppose that we could do that as an enhancement in the future

Alright! let me test with it included

$ curl -H 'Content-Type: application/json' 'http://127.0.0.1:8000/api/inject/v1' -d '{
    "envelope_sender": "noreply@example.com",
    "content": "Subject: hello\n\nHello there",
    "from": {
        "email": "noreply@example.com",
        "name": "Do not reply",
    },
    "recipients": [
        {
            "email": "recipient@example.com"
        }
    ]
}'

oh, actually, what I shared won’t work

either: "content": "From: noreply@example.com\nSubject: hello\n\nHello there",

or use the full builder object notation which accepts the from key

Thanks! Looks like that part is working now, but I have errors in my Lua functions elsewhere that I need to take care of

Thanks for the help @free-spirited-yorksh

Just sent my first message with Kumo! :partying_face:

By the way, @free-spirited-yorksh, I’ve found a few typos and outdated function names in the docs and one unneeded allocation in one of the policy helpers, what’s the best practice for reporting these small issues? Github issues or just tell you guys here?

or a pull request?

If you do a Pull request and it’s accepted, you get the nice shiny Contributor role here in the Discord.

Ah! Will do!

Yeah, PRs are preferred because they point directly to the code under discussion, and you get attribution!

AND the shiny Role!