FA-76745 / Email MIME structure / Member archive
Detect a calendar invitation inside a message: no descent into messages · case 05
An invitation inside a forwarded message is offered to the reader as if it were addressed to them.
Case contract
Walk multiparts but never descend into message/rfc822 parts. A text/calendar part, or any part whose filename ends in ".ics" (case-insensitive), with an attachment disposition only counts as an attached .ics file. Other text/calendar parts with a method parameter contribute their method (trimmed, upper-cased; parameter names case-insensitive). Result {method: the single distinct method, "AMBIGUOUS" for several, None for none; count: contributing parts; attachments_ics}.
Why this case matters
Clients show accept/decline controls only for real invitations addressed to the reader.
One recorded failure
Sample boundary fixtureThis sample comes from the broken implementation of a controlled reproducer.
| Boundary fixture | Actual | Expected | Outcome |
|---|---|---|---|
| forwarded invitation | {"attachments_ics": 0, "count": 1, "method": "REQUEST"} | {"attachments_ics": 0, "count": 0, "method": null} | Failed |
MEMBER ARCHIVE
The complete case is available to members.
This record includes three runnable implementations, regression fixtures, execution results, and source hashes.
Member access is invitation-based. Sign in with your invited account to inspect the sources.
Sign in to the archive ↗