Home >Backend Development >PHP Tutorial >PHPMailer Chinese Instructions

PHPMailer Chinese Instructions

WBOY
WBOYOriginal
2016-07-25 09:03:431076browse
PHPMailer Chinese instruction manual, friends in need can take it.

Starts with A:

$AltBody --Properties From: PHPMailer: $AltBody File: class.phpmailer.php Note: The setting of this attribute is an alternative display that does not support HTML in the email body

AddAddress --method From: 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("to@163.com","to name"), but parameter 2 is optional, and AddAddress(to@163.com) 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 Description: Add a BCC. For the difference between CC and BCC, please see [The 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 AddBCC($address, $name = ''){}

AddCC -- Method From: PHPMailer::AddCC() File: class.phpmailer.php Description: Add a CC. For the difference between CC and BCC, please see [The 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 Description: Add a custom E-mail header. Parameters are header information Function prototype: public function AddCustomHeader($custom_header){}

AddEmbeddedImage -- Method From: 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 in html PHPMailer Chinese Instructions

AddReplyTo --method From: 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 From: 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 Note: To start SMTP authentication, it must be called after Hello(). If the authentication is successful, true will be returned. Parameter 1 username, parameter 2 password Function prototype: public function Authenticate($username, $password) {}

Starts with B

$Body --Properties From: PHPMailer: $Body File: class.phpmailer.php Description: Email content, HTML or Text format

Starts with C

$CharSet --Properties From: PHPMailer: $CharSet File: class.phpmailer.php Description: Email encoding, the default is iso-8859-1

$ConfirmReadingTo --property From: PHPMailer: $ConfirmReadingTo file class.phpmailer .php Description: Return receipt?

$ContentType --property From: PHPMailer: $ContentType File: class.phpmailer.php Description: The type of document, the default is "text/plain"

$CRLF --properties From: PHPMailer: $ContentType File: class.phpmailer.php Description: Delimiter at the end of SMTP reply (SMTP reply line ending?)

class.phpmailer .php --object From: class.phpmailer.php File: class.phpmailer.php Description: phpmailer object

class.smtp.php --object From: class.smtp.php File: class.smtp.php Description: Object of SMTP function

ClearAddresses --method From: 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 (bcc)

ClearAttachments --method From: PHPMailer::ClearAttachments() File: class.phpmailer.php Instructions: Clear attachments

ClearBCCs --Method From: PHPMailer::ClearBCCs() file class.phpmailer .php Description: Clear BCC (Bcc)

ClearCustomHeaders --method From: PHPMailer::ClearCustomHeaders() File: class.phpmailer.php Description: Clear custom header

ClearReplyTos --method From: PHPMailer::ClearReplyTos() File: class.phpmailer.php Instructions: Clearly reply to the person

Close --method From: SMTP::Close() File: class.smtp.php Description: Close an SMTP connection

Connect --method From: SMTP::Connect() File: class.smtp.php Description: Establish an SMTP connection Mailer.html

$ContentType --property From: PHPMailer: $ContentType File: class.phpmailer.php Description: The type of document, the default is "text/plain"

Starts with D $do_debug --properties From: SMTP: $do_debug File: class.smtp.php Description: SMTP debug output

Data -Method From: SMTP: $Data() File: class.smtp.php Description: Send a data command and message information to the server (sendsthemsg_datatotheserver)

Starts with E

$Encoding --property From: PHPMailer: $Encoding File: class.phpmailer.php Description: Set the encoding method of the email, optional: "8bit", "7bit", "binary", "base64", and "quoted-printable". 1 2 3 Next page Last page



Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn