[ Index ]

MailPress 7.2

[ Index ]     [ Classes ]     [ Functions ]     [ Variables ]     [ Constants ]     [ Statistics ]    

title

Body

[close]

/mp-includes/composer/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Mime/ContentEncoder/ -> PlainContentEncoder.php (summary)

(no description)

File Size: 164 lines (4 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

Swift_Mime_ContentEncoder_PlainContentEncoder:: (7 methods):
  __construct()
  encodeString()
  encodeByteStream()
  getName()
  charsetChanged()
  safeWordwrap()
  canonicalize()


Class: Swift_Mime_ContentEncoder_PlainContentEncoder  - X-Ref

Handles binary/7/8-bit Transfer Encoding in Swift Mailer.

When sending 8-bit content over SMTP, you should use
Swift_Transport_Esmtp_EightBitMimeHandler to enable the 8BITMIME SMTP
extension.

__construct($name, $canonical = false)   X-Ref
Creates a new PlainContentEncoder with $name (probably 7bit or 8bit).

param: string $name
param: bool   $canonical If canonicalization transformation should be done.

encodeString($string, $firstLineOffset = 0, $maxLineLength = 0)   X-Ref
Encode a given string to produce an encoded string.

param: string $string
param: int    $firstLineOffset ignored
param: int    $maxLineLength   - 0 means no wrapping will occur
return: string

encodeByteStream(Swift_OutputByteStream $os, Swift_InputByteStream $is, $firstLineOffset = 0, $maxLineLength = 0)   X-Ref
Encode stream $in to stream $out.

param: int $firstLineOffset ignored
param: int $maxLineLength   optional, 0 means no wrapping will occur

getName()   X-Ref
Get the name of this encoding scheme.

return: string

charsetChanged($charset)   X-Ref
Not used.


safeWordwrap($string, $length = 75, $le = "\r\n")   X-Ref
A safer (but weaker) wordwrap for unicode.

param: string $string
param: int    $length
param: string $le
return: string

canonicalize($string)   X-Ref
Canonicalize string input (fix CRLF).

param: string $string
return: string



Generated: Tue May 19 15:55:14 2020 Cross-referenced by PHPXref 0.7.1