有点罗嗦,在网上实在找不到答案了,希望懂这个 email 模块的大神给点指教。万分感谢!!作者: Dreamingboy 时间: 2018-2-1 14:35
有没有朋友知道?求指教!作者: always_fly 时间: 2018-2-2 17:08
email的 header构造方法,根据官网的描述:“The maximum line length can be specified
explicitly via maxlinelen. For splitting the first line to a shorter value (to account for the
field header which isn’t included in s, e.g. Subject) pass in the name of the field in
header_name. The default maxlinelen is 76, and the default value for header_name
is None, meaning it is not taken into account for the first line of a long, split header.
应该是在指定 header_name的前提下,限定当前字段(field)值的最大长度,默认长度
限制为76个 ASCII 字符长,通常是用在限制 Subject 的最大长度。
”