Zend_Mail-Encoding.xml 1.6 KB

123456789101112131415161718192021222324252627282930313233
  1. <sect1 id="zend.mail.encoding">
  2. <title>
  3. Кодировка
  4. <!--
  5. Encoding
  6. -->
  7. </title>
  8. <para>
  9. Тела сообщений в текстовом и HTML форматах по умолчанию кодируются
  10. по алгоритму quoted-printable. Все другие вложения кодируются
  11. по алгоритму base64, если не указана другая кодировка при
  12. вызове метода <code>addAttachment()</code> или не установлена позднее для
  13. части MIME объекта. Кодировки 7Bit и 8Bit в настоящее время
  14. используются только для бинарных данных.
  15. <!--
  16. Text and HTML message bodies are encoded with the quotedprintable mechanism by default. All other
  17. attachments are encoded via base64 if no other encoding is given in the <code>addAttachment()</code>
  18. call or assigned to the MIME part object later. 7Bit and 8Bit encoding currently only pass on the
  19. binary content data.
  20. -->
  21. </para>
  22. <para>
  23. <code>Zend_Mail_Transport_Smtp</code> кодирует строки, начинающиеся с
  24. одной или двух точек, поэтому сообщение не нарушает протокол SMTP.
  25. <!--
  26. <code>Zend_Mail_Transport_Smtp</code> encodes lines starting with one dot or two dots so that the mail
  27. does not violate the SMTP protocol.
  28. -->
  29. </para>
  30. </sect1>
  31. <!--
  32. vim:se ts=4 sw=4 et:
  33. -->