E-Mail Header: MIME-Version: 1.0 - When should this be used?

自作多情 提交于 2020-04-29 12:13:05

问题


This could be rightfully construed as a beginner's question.

Consider the following e-mail header:

MIME-Version: 1.0

My Questions:

  • When should you stamp an e-mail with this header?
  • When should you omit this e-mail header?

EDIT: Is it true that whenever you specify a 'Content Type' header, no matter what that content type happens to be, that you should also specify 'MIME-Version'? [This link tipped me off to the possibility.]


回答1:


According to Wikipedia, you should use the 'MIME-Version: 1.0' heading when you're sending an e-mail that contains one of the following:

  • Text in character sets other than ASCII
  • Non-text attachments
  • Message bodies with multiple parts
  • Header information in non-ASCII character sets


来源:https://stackoverflow.com/questions/3562130/e-mail-header-mime-version-1-0-when-should-this-be-used

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!