phpDocumentor mail
encode
[ class tree: mail ] [ index: mail ] [ all elements ]

Class: WindMailQp

Source Location: /mail/encode/WindMailQp.php

Class WindMailQp

Class Overview

Implements interfaces:

完成邮件传输过程中Qp的编码和解码

QP(Quote-Printable) 方法,通常缩写为“Q”方法,其原理是把一个 8 bit 的字符用两个16进制数值表示,然后在前面加“=”。 所以我们看到经过QP编码后的文件通常是这个样子: =B3=C2=BF=A1=C7=E5=A3=AC=C4=FA=BA=C3=A3=A1。

Located in /mail/encode/WindMailQp.php [line 17]



		
				Author(s):
		
		
		
Information Tags:
Version:  $Id$
Copyright:  ©2003-2103 phpwind.com
License:  http://www.windframework.com

Methods

[ Top ]
Method Summary
void   decode()  
void   decodeHeader()  
void   encode()   用Base64方式编码邮件内容
void   encodeHeader()   编码邮件头

[ Top ]
Methods
decode  [line 22]

  void decode( $string, $length, $linebreak  )

Parameters:
   $string: 
   $length: 
   $linebreak: 

API Tags:
Access:  public


[ Top ]
decodeHeader  [line 27]

  void decodeHeader( $string, $charset, $length, $linebread  )

Parameters:
   $string: 
   $charset: 
   $length: 
   $linebread: 

API Tags:
Access:  public


[ Top ]
encode  [line 36]

  void encode( string $string, int $line_max, string $linebreak  )

用Base64方式编码邮件内容

Parameters:
string   $string: 
int   $line_max: 
string   $linebreak: 

API Tags:
Access:  public


[ Top ]
encodeHeader  [line 101]

  void encodeHeader( string $string, string $charset, int $length, string $linebreak  )

编码邮件头

Parameters:
string   $string: 
string   $charset: 
int   $length: 
string   $linebreak: 

API Tags:
Access:  public


[ Top ]

Documentation generated on Fri, 30 Mar 2012 11:43:37 +0800 by phpDocumentor 1.4.4