Phpmailer Chinese Instruction Summary _php tutorial

Source: Internet
Author: User
A begins with:

$AltBody--Properties
Originating from: Phpmailer: $AltBody
Files: Class.phpmailer. php
Description: The setting of this property is an alternate display of HTML that is not supported in the message body

AddAddress--Methods
Derived from: Phpmailer:: AddAddress (), File: Class.phpmailer. php
Note: Increase the recipient. Parameter 1 is the recipient's mailbox, and Parameter 2 is the recipient's salutation. Example AddAddress ("to@163.com", "to name"), but parameter 2 is optional, addaddress (to@163.com) is also possible.
Function prototype: Public function addaddress ($address, $name = ") {}

AddAttachment--Methods
Originating from: Phpmailer:: AddAttachment ()
Files: Class.phpmailer. php.
Note: Add attachments.
Parameters: Path, name, encoding, type. Where the path is required and the other is optional
Function Prototypes:
AddAttachment ($path, $name = ', $encoding = ' base64 ', $type = ' Application/octet-stream ') {}

ADDBCC--Methods
Originating from: Phpmailer:: ADDBCC ()
Files: Class.phpmailer. php
Description: Add a secret send. For the difference between CC and BCC, see [the difference between BCC and CC in SMTP senders].
The parameter 1 is the address, and the parameter 2 is the name. Note This method only supports the use of SMTP under Win32, and does not support the mail function
Function prototype: Public function addbcc ($address, $name = ") {}

ADDCC--Methods
Originating from: Phpmailer:: ADDCC ()
Files: Class.phpmailer. php
Note: Add a CC. For the difference between CC and BCC, see [the difference between BCC and CC in SMTP senders].
Parameter 1 is address, parameter 2 is name note This method supports SMTP only with Win32, and does not support mail functions
Function prototype: Public function ADDCC ($address, $name = ") {}

Addcustomheader--Methods
Originating from: Phpmailer:: Addcustomheader ()
Files: Class.phpmailer. php
Description: Add a custom e-mail header.
parameter is header information
Function prototype: Public function Addcustomheader ($custom _header) {}

Addembeddedimage--Methods
Originating from: Phpmailer:: Addembeddedimage ()
Files: 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");
Referencing in HTML

Addreplyto--Methods
Originating from: Phpmailer:: Addreplyto ()
Files: Class.phpmailer. php
Note: Add a reply label, such as "reply-to"
Parameter 1 address, parameter 2 name
Function prototype: Public function Addreplyto ($address, $name = ") {}

Addstringattachment-Methods
Originating from: Phpmailer:: Addstringattachment ()
Files: Class.phpmailer. php
Description: Add a string or binary attachment (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--Methods
Derived from: Smtp::authenticate ()
Files: class.smtp.php
Description: Start SMTP authentication, must be called after Hello (), if authentication succeeds, returns True,
Parameter 1 user name, parameter 2 password
Function prototype: Public function Authenticate ($username, $password) {}

b Start

$Body--Properties
Originating from: Phpmailer: $Body
Files: Class.phpmailer. php
Description: Message content, HTML or text format

C Start

$CharSet--Properties
Originating from: Phpmailer: $CharSet
Files: Class.phpmailer. php
Description: Message encoding, default = Iso-8859-1

$ConfirmReadingTo--Properties
Derived from: Phpmailer: $ConfirmReadingTo file Class.phpmailer. php
Description: Receipt?

$ContentType--Properties
Originating from: Phpmailer: $ContentType
Files: Class.phpmailer. php
Description: Type of document, default to "Text/plain"

$CRLF--Properties
Originating from: Phpmailer: $ContentType
Files: Class.phpmailer. php
Description: The delimiter for SMTP reply end (SMTP reply line ending? )

Class.phpmailer. PHP--Objects
Derived from: Class.phpmailer. php
Files: Class.phpmailer. php
Description: Phpmailer Object

class.smtp.php--Object
Derived from: class.smtp.php file: class.smtp.php
Description: The SMTP Feature Object

Clearaddresses--Methods
Originating from: Phpmailer:: Clearaddresses ()
Files: Class.phpmailer. php
Note: Clear the recipient to prepare for the next shipment. return type is void

Clearallrecipients--Methods
Originating from: Phpmailer:: Clearallrecipients ()
Files: Class.phpmailer. php
Description: Clear all recipients, including CC (CC) and Bcc (secret send)

Clearattachments--Methods
Originating from: Phpmailer:: Clearattachments ()
Files: Class.phpmailer. php
Description: Clear Attachment

Clearbccs--Methods
Derived from: Phpmailer:: Clearbccs () file Class.phpmailer. php
Description: Clear Bcc (Secret send)

Clearcustomheaders--Methods
Originating from: Phpmailer:: Clearcustomheaders ()
Files: Class.phpmailer. php
Description: Clear the custom header

Clearreplytos--Methods
Originating from: Phpmailer:: Clearreplytos ()
Files: Class.phpmailer. php
Explanation: Clear Reply person

Close--method
Derived from: Smtp::close ()
Files: class.smtp.php
Description: Close an SMTP connection

Connect--method
Derived from: Smtp::connect ()
Files: class.smtp.php
Description: Establish an SMTP connection mailer.html

$ContentType--Properties
Originating from: Phpmailer: $ContentType
Files: Class.phpmailer. php
Description: Type of document, default to "Text/plain"

D Start
$do _DEBUG--Properties
Originating from: SMTP: $do _DEBUG
Files: class.smtp.php
Description: SMTP Debug output

Data-Method
Originating from: SMTP: $Data ()
Files: class.smtp.php
Description: Sends a data command and message information to the server (Sendsthemsg_datatotheserver)

E start

$Encoding--Properties
Originating from: Phpmailer: $Encoding
Files: Class.phpmailer. php
Description: Set the encoding method of the message, Optional: "8bit", "7bit", "binary", "base64", and "quoted-printable".

$ErrorInfo--Properties
Originating from: Phpmailer: $ErrorInfo
Files: Class.phpmailer. php
Description: Returns the last error message in Mail SMTP

Expand--Methods
Derived from: Smtp::expand ()
Files: class.smtp.php
Description: Returns all users in the mailing list. Succeeds returns the array, otherwise returns False (Expandtakesthenameandaskstheservertolistallthepeoplewhoaremembersofthe_list_. Expandwillreturnbackandarrayoftheresultorfalseifanerroroccurs.)

F Start:

$From--Properties
From: Phpmailer:: $From file Class.phpmailer. php
Description: Sender e-mail address
$FromName--Properties
Derived from: Phpmailer:: $FromName
Files: Class.phpmailer. php
Description: Sender Salutation

H Start:

$Helo--Properties
Derived from: Phpmailer:: $Helo
Files: Class.phpmailer. php
Description: Set Smtphelo, Default is $hostname (Setsthesmtpheloofthemessage (defaultis$hostname).)

$Host--Properties
Derived from: Phpmailer:: $Host
Files: Class.phpmailer. php
Description: Set the SMTP server in the format: hostname [port number], such as smtp1.example.com:25 and smtp2.example.com are legal

$Hostname--Properties
Derived from: Phpmailer:: $Hostname
Files: Class.phpmailer. php
Description: Set the hostname in Message-id and andreceivedheaders and be used at the same time by $helo. If blank, the default is server_name or ' localhost.localdomain '

Hello--method
Derived from: Smtp::hello ()
Files: class.smtp.php
Description: Send the HELO command to the SMTP server

Help--method
Derived from: Smtp::help ()
Files: class.smtp.php
Description: If there are keywords, get help information for keywords

I begin with:

IsError--Methods
Originating from: Phpmailer:: IsError ()
Files: Class.phpmailer. php
Description: Returns whether an error occurred

IsHTML--Methods
Originating from: Phpmailer:: ishtml ()
Files: Class.phpmailer. php
Description: Sets whether the letter is in HTML format

IsMail--Methods
Originating from: Phpmailer:: IsMail ()
Files: Class.phpmailer. php
Description: Set whether to use PHP's mail function to send a piece

Isqmail--Methods
Originating from: Phpmailer:: Isqmail ()
Files: Class.phpmailer. php
Description: Set whether to use Qmailmta to send a piece

issendmail--method
Originating from: Phpmailer:: Issendmail ()
Files: Class.phpmailer. php
Description: Whether to use the $sendmail program to send a piece

issmtp--method
Originating from: Phpmailer:: Issmtp ()
Files: Class.phpmailer. php
Description: Whether to send a piece using SMTP

M Start:

$Mailer--Properties
Derived from: Phpmailer:: $Mailer
Files: Class.phpmailer. php
Description: Sender mode, ("Mail", "SendMail", or "SMTP"). One of the

Mail--method
Derived from: Smtp::mail ()
Files: class.smtp.php
Description: Returns TRUE or false, starting with a mail address in $from. If true, the sender is started

N begins with:

noop--method
Derived from: Smtp::noop ()
Files: class.smtp.php
Description: Send an NOOP command to the SMTP server

P begins with:
$Password--Properties
Derived from: Phpmailer:: $Password
Files: Class.phpmailer. php
Description: Set the password for SMTP

$PluginDir--Properties
Derived from: Phpmailer:: $PluginDir
Files: Class.phpmailer. php
Description: Set Phpmailer plug-in directory, only valid in Smtpclass not in Phpmailer directory

$Port--Properties
Derived from: Phpmailer:: $Port
Files: Class.phpmailer. php
Description: Set the port number for SMTP

$Priority--Properties
Derived from: Phpmailer:: $Priority
Files: Class.phpmailer. php
Note: Set the message delivery priority level. 1= Emergency, 3 = normal, 5 = not urgent

Phpmailer--Object
Originating From: Phpmailer
Files: Class.phpmailer. php
Description: Phpmailer-phpemailtransportclass

Q Start

Quit--method
Derived from: Smtp::quit ()
Files: class.smtp.php
Description: Sends a QUIT command to the server if no error occurs. So turn off sock, or $close_on_error to True

R start

Recipient--Methods
Derived from: Smtp::recipient ()
Files: class.smtp.php
Description: Use to send the RCPT command to SMTP with the parameters: $to

Reset--method
Derived from: Smtp::reset ()
Files: class.smtp.php
Description: Sends the RSET command to cancel processing in transit. Success returns TRUE, otherwise false

S start:

$Sender--Properties
Derived from: Phpmailer:: $Sender
Files: Class.phpmailer. php
Description: Setsthesenderemail (Return-path) ofthemessage. Ifnotempty,willbesentvia-ftosendmailoras ' Mailfrom ' Insmtpmode.

$Sendmail--Properties
Derived from: Phpmailer:: $Sendmail
Files: Class.phpmailer. php
Description: Set the directory for the sender program

$SMTPAuth--Properties
Derived from: Phpmailer:: $SMTPAuth
Files: Class.phpmailer. php
Description: Set whether SMTP requires authentication, use username and password variables

$SMTPDebug--Properties
Derived from: Phpmailer:: $SMTPDebug
Files: Class.phpmailer. php
Description: Set SMTP to debug output?

$SMTPKeepAlive--Properties
Derived from: Phpmailer:: $SMTPKeepAlive
Files: Class.phpmailer. php
Note: Do not close the connection after each sender. If true, you must use Smtpclose () to close the connection

$SMTP _port--Properties
Originating from: SMTP:: $SMTP _port
Files: class.smtp.php
Description: Set the SMTP port

$Subject--Properties
Derived from: Phpmailer:: $Subject
Files: Class.phpmailer. php
Description: Set the subject of the letter

Send--method
Derived from: Smtp::send ()
Files: class.smtp.php
Note: Start a message transfer from the specified e-mail address

Send--method
Originating from: Phpmailer:: Send ()
Files: Class.phpmailer. php
Description: Create a message and develop a sender program. Returns False if the sender is unsuccessful, use ErrorInfo to view the error message

Sendandmail--Methods
Derived from: Smtp::sendandmail ()
Files: class.smtp.php
Note: Start a message transfer from the specified e-mail address

Sendormail--Methods
Derived from: Smtp::sendormail ()
Files: class.smtp.php
Note: Start a message transfer from the specified e-mail address

SetLanguage--Methods
Originating from: Phpmailer:: SetLanguage ()
Files: Class.phpmailer. php
Description: Sets the language type of the Phpmailer error message, returns False if the language file cannot be loaded, and defaults to 中文版

SMTP--method
Derived from: Smtp::smtp ()
Files: class.smtp.php
Description: Initialize an object so that the data is in a known state

SMTP--Object
Originating From: SMTP
Files: class.smtp.php
Description: SMTP Object

Smtpclose--Methods
Originating from: Phpmailer:: Smtpclose ()
Files: Class.phpmailer. php
Description: If there is an active SMTP, close it.

T start

$Timeout--Properties
Derived from: Phpmailer:: $Timeout
Files: Class.phpmailer. php
Description: Set the timeout (in seconds) for the SMTP server. Note: This property is not valid under Win32

Turn--Methods
Derived from: Smtp::turn ()
Files: class.smtp.php
Description: This is an optional SMTP parameter, currently Phpmailer does not support him and may support future

U start

$Username--Properties
Derived from: Phpmailer:: $Username
Files: Class.phpmailer. php
Description: Set the SMTP user name

V Start

$Version--Properties
Derived from: Phpmailer:: $Version
Files: Class.phpmailer. php
Description: Returns the version of Phpmailer

Verify--Methods
Derived from: smtp::verify ()
Files: class.smtp.php
Description: Checks whether the user name has been verified by the server

W Start:

$WordWrap--Properties
Derived from: Phpmailer:: $WordWrap
Files: Class.phpmailer. php
Description: Sets the maximum number of characters per line, and wraps it more than the number of changes.

http://www.bkjia.com/PHPjc/321190.html www.bkjia.com true http://www.bkjia.com/PHPjc/321190.html techarticle a start: $AltBody--Properties from: Phpmailer: $AltBody file: Class.phpmailer. PHP Description: The setting of this property is an alternate display addaddress--method that does not support HTML in the message body ...

  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.