parser

Написать ответ на текущее сообщение

 

 
   команды управления поиском

Content-Transfer-Encoding в сообщениях

Pavel Titov 24.03.2006 20:27

Parser (проверял на 3.1.4, но в changelog нет ни слова об исправлении этого на более поздних версиях) отправляет письма в восьмибитной кодировке без указания Content-Transfer-Encoding. При этом:
encoding := "Content-Transfer-Encoding" ":" mechanism

mechanism := "7bit" / "8bit" / "binary" /
"quoted-printable" / "base64" /
ietf-token / x-token

These values are not case sensitive -- Base64 and BASE64 and bAsE64
are all equivalent. An encoding type of 7BIT requires that the body
is already in a 7bit mail-ready representation. This is the default
value -- that is, "Content-Transfer-Encoding: 7BIT" is assumed if the
Content-Transfer-Encoding header field is not present.
При этом:
2.7. 7bit Data

"7bit data" refers to data that is all represented as relatively
short lines with 998 octets or less between CRLF line separation
sequences [RFC-821]. No octets with decimal values greater than 127
are allowed and neither are NULs (octets with decimal value 0). CR
(decimal value 13) and LF (decimal value 10) octets only occur as
part of CRLF line separation sequences.
http://www.ietf.org/rfc/rfc2045.txt

  • Content-Transfer-Encoding в сообщениях, Pavel Titov 24.03.2006 20:27