# 邮件附件来源演练
全部为合成数据；下列EML片段是测试输入，不是真实邮箱导出。占位域名example.invalid不可用于发信。

## 输入M01：普通附件
```eml
From: sender@example.invalid
To: intake@example.invalid
Message-ID: <m01@example.invalid>
Subject: Synthetic document
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="b01"

--b01
Content-Type: text/plain; charset=utf-8

Please inspect the attached synthetic note.
--b01
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment; filename="note.txt"

SYNTHETIC NOTE A
--b01--
```

## 输入M02：正文内嵌资源
```eml
Message-ID: <m02@example.invalid>
MIME-Version: 1.0
Content-Type: multipart/related; boundary="b02"

--b02
Content-Type: text/html; charset=utf-8

<p>Synthetic logo: <img src="cid:logo01"></p>
--b02
Content-Type: text/plain
Content-ID: <logo01>
Content-Disposition: inline

PLACEHOLDER INLINE RESOURCE; NOT A REAL IMAGE
--b02--
```

## 输入M03：嵌套邮件
```eml
Message-ID: <m03@example.invalid>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="b03"

--b03
Content-Type: text/plain

Forwarded synthetic mail.
--b03
Content-Type: message/rfc822

Message-ID: <nested01@example.invalid>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="inner"

--inner
Content-Type: text/plain
Content-Disposition: attachment; filename="nested.txt"

SYNTHETIC NESTED FILE
--inner--
--b03--
```

|案例|对象路径|原名或标识|人工预期|
|---|---|---|---|
|M01|M01/part2|note.txt|普通文件解析候选|
|M02|M02/part2|logo01|登记为正文资源，不单独当正式资料|
|M03|M03/part2/inner1|nested.txt|保留M03→nested01→附件关系|
|M04|引用对象|https://example.invalid/ref|未取得内容，不能标已解析|

## 可填写台账
|邮件标识|附件对象标识|父对象|类型|原名|保存标识|校验值|取得状态|解析状态|负责人|
|---|---|---|---|---|---|---|---|---|---|
|待填|待填|待填|待填|待填|待填|待实测|待填|待填|待填|

核对：逐条从保存副本回到原邮件；区分来源存在、内容取得、解析完成、业务批准四个状态。M04是引用对象情形说明，未伪装成任何平台响应。
