Skip to content

fix: accept inbound attachments without filenames - #40

Merged
bjarn merged 2 commits into
mainfrom
codex/inbound-attachment-filenames
Sep 27, 2026
Merged

bjarn merged 2 commits into
mainfrom
codex/inbound-attachment-filenames

Conversation

@bjarn

@bjarn bjarn commented Sep 27, 2026 •

Copy link
Copy Markdown
Contributor

An inbound email with an unnamed attachment currently causes HTTP 500 before the webhook event can be dispatched. This blocked a support reply and all 12 delivery attempts.

Accept null or absent attachment filenames and use attachment.eml for attached emails (message/rfc822), or attachment for other content types. Preserve supplied filenames and attachment content. This also lets consumers process stored payloads that contain null filenames after they install the fixed SDK.

Validation: all 87 SDK tests pass (400 assertions), including signed webhook requests for null, absent, and supplied filenames. Pint and PHPStan pass. The regression tests failed with HTTP 500 before the fix.

A package release and consumer dependency update are required to apply this SDK fix. No release or production replay is included.

Related platform PR: https://github.com/lettermint/lettermint/pull/2523.

@bjarn
bjarn requested a review from a team as a code owner September 27, 2026 13:08
@bjarn
bjarn enabled auto-merge (squash) September 27, 2026 13:11
@bjarn
bjarn merged commit 8c852ec into main Sep 27, 2026
19 checks passed
@bjarn
bjarn deleted the codex/inbound-attachment-filenames branch September 27, 2026 13:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants