Overview

Packages

  • akismet
  • None
  • PHP
  • Smarty
    • Cacher
    • Compiler
    • Config
    • Debug
    • plugins
    • PluginsBlock
    • PluginsFilter
    • PluginsFunction
    • PluginsInternal
    • PluginsModifier
    • PluginsModifierCompiler
    • PluginsShared
    • Security
    • Template
    • TemplateResources
  • Swift
    • ByteStream
    • CharacterStream
    • Encoder
    • Events
    • KeyCache
    • Mailer
    • Mime
    • Plugins
    • Signatures
    • Signed
    • Transport
  • wa-apps
    • blog
      • actions
        • backend
        • blog
        • comment
        • cron
        • design
        • frontend
        • page
        • plugin
        • post
      • api
        • v1
      • cli
      • layout
      • model
      • plugin
        • aksimet
        • category
        • emailsubscription
        • favorite
        • gravatar
        • import
        • markdown
        • myposts
        • tag
        • troll
      • settings
    • checklists
      • backend
      • json
    • contacts
      • backend
    • developer
    • dummy
    • guestbook
    • guestbook2
    • photos
      • album
      • api
        • v1
      • backend
      • design
      • dialog
      • frontend
      • page
      • photo
      • plugin
        • comment
        • imageeffects
        • import
        • publicgallery
        • watermark
      • search
      • settings
      • stack
      • tag
      • upload
    • site
      • backend
      • blocks
      • config
      • design
      • domains
      • files
      • frontend
      • helper
      • layout
      • pages
      • routing
      • setting
    • stickies
      • api
        • v1
      • sheet
      • stiky
  • wa-plugin
    • payment
    • shipping
    • sms
  • wa-plugins
    • shipping
      • usps
  • wa-system
    • API
    • Auth
      • Adapters
    • Autoload
    • Cache
      • Adapter
    • Captcha
    • Config
    • Contact
    • controller
    • currency
    • database
    • datetime
    • design
    • event
    • exception
    • files
    • image
    • layout
    • locale
    • log
    • mail
    • page
      • action
      • model
    • payment
    • plugin
    • request
    • response
    • routing
    • shipping
    • sms
    • storage
    • user
    • util
    • validator
    • view
    • webasyst
      • api
      • backend
      • cli
      • config
      • layout
      • login
      • model
      • password
      • payment
      • profile
      • settings
      • shipment
    • widget
    • workflow
  • waPlugins
    • Payment
  • webasyst
    • wa-system
      • helper

Classes

  • waMailAddress
  • waMailAddressParser
  • waMailDecode
  • waMailPOP3
  • Overview
  • Package
  • Class
  • Tree
  • Deprecated
  • Todo

Class waMailDecode

This file is part of Webasyst framework.

Licensed under the terms of the GNU Lesser General Public License (LGPL). http://www.webasyst.com/framework/license/

Package: wa-system\mail
Copyright: 2011 Webasyst LLC
Author: Webasyst LLC
Link: http://www.webasyst.com/
Located at wa-system/mail/waMailDecode.class.php
Methods summary
public
# __construct( mixed $options = array() )
public static
# parseAddress( mixed $header )

Parse a decoded email header into list of arrays [name => ..., email => ..., full => ...]

Parse a decoded email header into list of arrays [name => ..., email => ..., full => ...]

public
# decode( mixed $file, mixed $full_response = false )
public string
# getMessageId( array $headers )

Returns formatted Message-ID

Returns formatted Message-ID

Parameters

$headers
array
$headers

Returns

string
protected
# cleanHTML( mixed $html_orig )
protected
# explodeEmails( mixed $string )
protected
# read( )
protected
# parse( )
protected
# skipLineBreak( )
protected static
# quotedPrintableReplace( mixed $matches )
protected
# decodePart( mixed $part )
protected
# clearBuffer( )
protected string
# decodeHeader( string|array $value )

Parameters

$value
string|array
$value

Returns

string
protected
# parseHeader( mixed $str )
Constants summary
integer STATE_START 1
#
integer STATE_HEADER 2
#
integer STATE_HEADER_VALUE 3
#
integer STATE_PART 4
#
integer STATE_PART_HEADER 5
#
integer STATE_PART_DATA 6
#
integer STATE_END 7
#
integer TYPE_HEADER 1
#
integer TYPE_HEADER_VALUE 2
#
integer TYPE_PART 3
#
integer TYPE_ATTACH 4
#
Properties summary
protected array $options array( 'buffer_size' => 16384, 'headers_only' => false, 'attach_path' => '' )
#
protected mixed $source
#
protected mixed $state
#
protected string $buffer ''
#
protected integer $buffer_offset 0
#
protected array $attachments array()
#
protected array $parts array()
#
protected mixed $part
#
protected integer $part_index 0
#
protected boolean $is_last false
#
protected array $body array( )
#
protected mixed $current_header
#
My fork of Webasyst Framework API documentation generated by ApiGen 2.8.0