Skip to main content

8. Content-Description Header Field (Content-Description头部字段)

Content-Description头部字段提供了一种将MIME实体的内容与自由形式的文本描述相关联的方法. 这个描述旨在供人类阅读, 可用于向用户描述实体的内容.

语法

description := "Content-Description" ":" *text

示例

Content-Description: A picture of me at the beach
Content-Description: Company Logo
Content-Description: 2024年度财务报告

用途

  • 为附件提供描述性标题
  • 为用户提供内容预览
  • 在邮件客户端中显示附件说明

关键点:

  • 可选的文本描述
  • 供人类阅读
  • 可以是任何语言
  • 常用于附件