前言: From: A starts with:
phpmailer是一个优秀的发件程序,但中文资料比较少,于是我手动翻译了phpmailer的elementindex.html,E文的:PHPMailer.html">http://www.bblog.com/apidoc/elementindex_PHPMailer.html,因为水平有限,翻译的地方可能不是很准,希望大家多多指教。因为东西较多,所以分三个帖子
A-C
http://www.xiaoxiaoyu.cn/AMP/215.html
$AltBody--attribute
Source: PHPMailer::$AltBody, file: class.phpmailer.php
Note: The setting of this attribute is a backup when the email body does not support HTML Display
AddAddress--Method
Source: PHPMailer::AddAddress(), file: class.phpmailer.php
Description: Add recipients. Parameter 1 is the recipient's email address, and parameter 2 is the recipient's title. For example, AddAddress("xiaoxiaoxiaoyu@xiaoxiaoyu.cn","xiaoxiaoyu"), but parameter 2 is optional, and AddAddress(xiaoxiaoxiaoyu@xiaoxiaoyu.cn) is also possible. Function prototype:
public function AddAddress($address, $name = ) {}
AddAttachment--method
From: PHPMailer::AddAttachment(), file: class.phpmailer.php
Description: Add attachments. Parameters: path, name, encoding, type. Among them, the path is required, and the others are optional
Function prototype:
AddAttachment($path, $name = , $encoding = base64, $type = application/octet-stream){}
AddBCC- -Method
From: PHPMailer::AddBCC(), file: class.phpmailer.php out out out Out of PHPMailer::AddBCC(). For the difference between CC and BCC, please see [Difference between BCC and CC in SMTP sending]. Parameter 1 is the address, parameter 2 is the name. Note that this method only supports the use of SMTP under win32, and does not support the mail function
Function prototype:
public function AddBCC($address, $name = ){} using using SMTP under win32 out Through off off PHPMail ’s through using using SMTP to to use using SMTP under win32 ’ ’s ’ through Through out of PHPMailer ::AddCC(), file: class.phpmailer.php
Description: Add a CC. For the difference between CC and BCC, please see [Difference between BCC and CC in SMTP sending]. Parameter 1 is the address, parameter 2 is the name. Note that this method only supports SMTP under win32 and does not support the mail function. Function prototype:
public function AddCC($address, $name = ) {}
AddCustomHeader --Method
From: PHPMAILER :: addcustomheader (), file: Class.phpmailer.php
Instructions: Add a custom E-mail head. Parameters are header information
Function prototype:
public function AddCustomHeader($custom_header){}
AddEmbeddedImage --method
Source: PHPMailer::AddEmbeddedImage(), file: class.phpmailer.php
Description: Add an embedded image. Parameters: path, return handle [, name, encoding, type]
Function prototype:
public function AddEmbeddedImage($path, $cid, $name = , $encoding = base64, $type = application/octet-stream ) {}
Tip: AddEmbeddedImage(PICTURE_PATH. "index_01.jpg ", "img_01 ", "index_01.jpg ");
Quote
AddReplyTo--Method
Source: PHPMailer::AddReplyTo(), file: class.phpmailer.php
Description: Add a reply label, such as "Reply-to".Parameter 1 address, parameter 2 name
Function prototype:
public function AddReplyTo($address, $name = ) {}
AddStringAttachment-method
Source: PHPMailer:: AddStringAttachment(), file: class .phpmailer.php
Description; Adds a string or binary attachment (non-filesystem) to the list.? Parameters: string, file name [, encoding, type]
Function prototype:
public function AddStringAttachment($string, $filename, $encoding = base64, $type = application/octet-stream) {}
Authenticate--method
From: SMTP::Authenticate() , File: class.smtp.php
Description: To start SMTP authentication, it must be called after Hello(). If the authentication is successful, return true, parameter 1 username, parameter 2 password
Function prototype:
public function Authenticate($username, $password) {}
B starts with
Or Text format
C starts with
> $ConfirmReadingTo--Attribute
From: PHPMailer::$ConfirmReadingTo file class.phpmailer.php
Description: Receipt?
$ContentType--Attribute
Source: PHPMailer::$ContentType File: class.phpmailer.php
Description: The type of document, the default is "text/plain"
$CRLF--Attribute
From: PHPMailer::$ContentType File: class.phpmailer.php
Description: SMTP reply end delimiter (SMTP reply line ending?)
class.phpmailer.php--Object
From: class.phpmailer.php File: class.phpmailer.php
Description: phpmailer object
class.smtp.php--Object
Source: class.smtp.php File: class.smtp.php
Description: SMTP function object
ClearAddresses--Method
Source: PHPMailer::ClearAddresses() File: class.phpmailer.php
Description: Clear the recipients and prepare for the next sending. The return type is void
ClearAllRecipients--method
From: PHPMailer::ClearAllRecipients() File: class.phpmailer.php
Description: Clear all recipients, including CC (CC) and BCC (Password) Send)
ClearAttachments--method
From: PHPMailer::ClearAttachments() File: class.phpmailer.php
Description: Clear attachments
ClearBCCs--method
&
http://www.bkjia.com/PHPjc/508359.html