Hi, this looks like a promising project for me to use. I launched the docker compose and tried to send send the data in examples/sparkpost_rfc822.json to the endpoint.
The API returns
{
"results": {
"id": "8005944211121792",
"total_accepted_recipients": 1,
"total_rejected_recipients": 0
}
}
But in MailHog, the Subject and Body aren't received:

I can also see in the log statements that the body that was sent from http2smtp to MailHog was empty, so it looks like http2smtp is indeed not parsing the subject and body at correct.
smtp-1 | [APIv2] BROADCAST /api/v2/websocket
smtp-1 | Got message in APIv1 event stream
smtp-1 | Sending content: {
smtp-1 | "ID": "piRSnCTqm4X8JDIzeX_C-zRRAyWYkRnmFuHw2keEQPM=@mailhog.example",
smtp-1 | "From": {
smtp-1 | "Relays": null,
smtp-1 | "Mailbox": "Test \u003ctest",
smtp-1 | "Domain": "example.com",
smtp-1 | "Params": ""
smtp-1 | },
smtp-1 | "To": [
smtp-1 | {
smtp-1 | "Relays": null,
smtp-1 | "Mailbox": "bob",
smtp-1 | "Domain": "example.com",
smtp-1 | "Params": ""
smtp-1 | }
smtp-1 | ],
smtp-1 | "Content": {
smtp-1 | "Headers": {
smtp-1 | "Message-ID": [
smtp-1 | "piRSnCTqm4X8JDIzeX_C-zRRAyWYkRnmFuHw2keEQPM=@mailhog.example"
smtp-1 | ],
smtp-1 | "Received": [
smtp-1 | "from by mailhog.example (MailHog)\r\n id piRSnCTqm4X8JDIzeX_C-zRRAyWYkRnmFuHw2keEQPM=@mailhog.example; Thu, 15 May 2025 08:55:44 +0000"
smtp-1 | ],
smtp-1 | "Return-Path": [
smtp-1 | "\u003cTest \u003ctest@example.com\u003e"
smtp-1 | ]
smtp-1 | },
smtp-1 | "Body": "",
smtp-1 | "Size": 0,
smtp-1 | "MIME": null
smtp-1 | },
smtp-1 | "Created": "2025-05-15T08:55:44.290043083Z",
smtp-1 | "MIME": null,
smtp-1 | "Raw": {
smtp-1 | "From": "Test \u003ctest@example.com",
smtp-1 | "To": [
smtp-1 | "bob@example.com"
smtp-1 | ],
smtp-1 | "Data": "",
smtp-1 | "Helo": ""
smtp-1 | }
smtp-1 | }
smtp-1 |
Hi, this looks like a promising project for me to use. I launched the docker compose and tried to send send the data in examples/sparkpost_rfc822.json to the endpoint.
The API returns
{ "results": { "id": "8005944211121792", "total_accepted_recipients": 1, "total_rejected_recipients": 0 } }But in MailHog, the Subject and Body aren't received:

I can also see in the log statements that the body that was sent from http2smtp to MailHog was empty, so it looks like http2smtp is indeed not parsing the subject and body at correct.