ホームページ  >  記事  >  バックエンド開発  >  phpmailer 中国語説明書(簡易版)_PHPチュートリアル

phpmailer 中国語説明書(簡易版)_PHPチュートリアル

WBOY
WBOYオリジナル
2016-07-21 15:43:36772ブラウズ

phpmailer v5.1 ダウンロード

A は次で始まります:

$AltBody--attribute
From: PHPMailer::$AltBody
File: class.phpmailer.php
Description: この属性の設定は、メール本文の代替表示です。 HTML はサポートされていません

AddAddress--Method
From: PHPMailer::AddAddress()、file: class.phpmailer.php
Description: 受信者を追加します。パラメータ 1 は受信者の電子メール アドレス、パラメータ 2 は受信者の役職です。たとえば、AddAddress("xiaoxiaoxiaoyu@xiaoxiaoyu.cn","xiaoxiaoyu") ですが、パラメーター 2 はオプションであり、AddAddress(xiaoxiaoxiaoyu@xiaoxiaoyu.cn) も可能です。
関数プロトタイプ: public function AddAddress($address, $name = '') {}

AddAttachment -- メソッド
From: PHPMailer::AddAttachment()
File: class.phpmailer.php。
手順: 添付ファイルを追加します。
パラメータ: パス、名前、エンコーディング、タイプ。このうち、パスは必須で、その他はオプションです。関数プロトタイプ:
AddAttachment($path, $name = '', $encoding = 'base64', $type = 'application/octet-stream'){}

AddBCC --Method
From: PHPMailer::AddBCC()
File: class.phpmailer.php
Description: ブラインド コピーを追加します。 CCとBCCの違いについては、「SMTP送信におけるBCCとCCの違い」をご覧ください。
パラメータ 1 はアドレス、パラメータ 2 は名前です。このメソッドは win32 での SMTP のみをサポートし、メール関数はサポートしないことに注意してください。
関数プロトタイプ: public function AddBCC($address, $name = ''){}

AddCC --Method
from: PHPMailer::AddCC()
ファイル: class.phpmailer.php
説明: CC を追加します。 CCとBCCの違いについては、「SMTP送信におけるBCCとCCの違い」をご覧ください。
パラメータ 1 はアドレス、パラメータ 2 は名前です。このメソッドは win32 での SMTP のみをサポートし、メール関数はサポートしないことに注意してください。
関数プロトタイプ: public function AddCC($address, $name = '') {}

AddCustomHeader--メソッド
From: PHPMailer::AddCustomHeader()
File: class.phpmailer.php
説明: カスタム電子メール ヘッダーを追加します。
パラメータはヘッダー情報です
関数プロトタイプ: public function AddCustomHeader($custom_header){}

AddEmbeddedImage --Method
From: PHPMailer::AddEmbeddedImage()
File: class.phpmailer.php
説明: 埋め込み画像を追加します
パラメータ: path、戻りハンドル [、名前、エンコーディング、タイプ]
関数プロトタイプ: public function AddEmbeddedImage($path, $cid, $name = '', $encoding = 'base64', $type = 'application/octet- stream') {}
ヒント: AddEmbeddedImage(PICTURE_PATH. "index_01.jpg ", "img_01 ", "index_01.jpg ");
html で参照

AddReplyTo--method
From: PHPMailer:: AddReplyTo()
ファイル: class.phpmailer.php
説明: "Reply-to" などの返信ラベルを追加します
パラメータ 1 アドレス、パラメータ 2 名
関数プロトタイプ: public function AddReplyTo($address, $name = '') {}

AddStringAttachment -Method
From: PHPMailer::AddStringAttachment()
File: class.phpmailer.php
Description: 文字列またはバイナリ添付ファイル (非ファイルシステム) をリストに追加します。?)
Parameters: String、filename [、エンコーディング、 type]
関数プロトタイプ: public function AddStringAttachment($string, $filename, $encoding = 'base64', $type = 'application/octet-stream') {}

Authenticate-- Method
From: SMTP::Authenticate( )
ファイル: class.smtp.php
説明: SMTP 認証を開始します。これは Hello() の後に呼び出す必要があります。認証が成功した場合は、true を返します。
パラメーター 1 ユーザー名、パラメーター 2 パスワード
関数プロトタイプ: public function Authenticate( $username, $password) {}

B で始まる

$Body -- 属性
From: PHPMailer::$Body
File: class.phpmailer.php
Description: 電子メールのコンテンツ、HTML またはテキスト形式

C

$CharSet--attribute
From: PHPMailer::$CharSet
File: class.phpmailer.php
Description: 電子メールエンコーディング、デフォルトは iso-8859-1

$confirmReadingTo--attribute
From: PHPMailer::$confirmReadingTo ファイル class.phpmailer.php
説明: 受領書?

$ContentType--property
from: PHPMailer::$ContentType
File: class.phpmailer.php
Description: ドキュメントのタイプ、デフォルトは「text/plain」です

$CRLF--property
from: PHPMailer :: $ContentType
File: class.phpmailer.php
Description: SMTP 返信終了区切り文字 (SMTP 返信行の終わり?)

class.phpmailer.php--Object
From: class.phpmailer.php
File: class.phpmailer .php
説明: phpmailer オブジェクト

class.smtp.php--オブジェクト
From: class.smtp.php ファイル: class.smtp.php
説明: SMTP 関数オブジェクト

ClearAddresses--Method
From: PHPMailer: : ClearAddresses()
ファイル: class.phpmailer.php
説明: 受信者をクリアし、次の送信に備えます。戻り値の型は void です。

ClearAllRecipients--メソッド
From: PHPMailer::ClearAllRecipients()
File: class.phpmailer.php
Description: CC (CC) と BCC (Bcc) を含むすべての受信者をクリアします

ClearAttachments--メソッド
From: PHPMailer::ClearAttachments()
ファイル: class.phpmailer.php
説明: 添付ファイルのクリア

ClearBCCs--Method
From: PHPMailer::ClearBCCs() ファイル class.phpmailer.php
説明: BCC のクリア ( Bcc)

ClearCustomHeaders--Method
From: PHPMailer::ClearCustomHeaders()
File: class.phpmailer.php
Description: カスタムヘッダーのクリア

ClearReplyTos--Method
From: PHPMailer::ClearReplyTos ()
File: class .phpmailer.php
説明: 相手に明確に返信します

Close--method
From: SMTP::Close()
File: class.smtp.php
説明: SMTP 接続を閉じる

Connect--Method
from : SMTP::Connect()
ファイル: class.smtp.php
説明: SMTP 接続を確立する [/color]Mailer.html

$ContentType--property
from: PHPMailer::$ContentType
ファイル : class.phpmailer .php
説明: ドキュメントのタイプ、デフォルトは「text/plain」です

D
$do_debug--attribute で開始します
From: SMTP::$do_debug
File: class.smtp.php
Description: SMTP Debug出力

データメソッド
の由来: SMTP::Data()
ファイル: class.smtp.php
説明: データコマンドとメッセージ情報をサーバーに送信します (sendsthemsg_datatotheserver)

Eで始まります

$Encoding- -attribute
From: PHPMailer::$Encoding
File: class.phpmailer.php
Description: 電子メールのエンコード方式を設定します。オプション: "8bit"、"7bit"、"binary"、"base64"、および "quoted" -printable" 。

$ErrorInfo--Attribute
From: PHPMailer::$ErrorInfo
File: class.phpmailer.php
Description: 電子メール SMTP 内の最後のエラー メッセージを返します

Expand--Method
From: SMTP: :Expand( )
ファイル: class.smtp.php
説明: メーリング リスト内のすべてのユーザーを返します。成功した場合は配列を返し、それ以外の場合は false を返します (Expand は名前を取得し、サーバーにメンバーのメンバー全員をリストするよう要求します。Expand は戻り、その結果の配列が返されます。エラーが発生します)
$FromName--属性
from: PHPMailer::$FromName
File: class.phpmailer.php
説明: 送信者の名前

Hで始まる:

$Helo--attribute
from: PHPMailer::$Helo
File : class.phpmailer.php
説明: SMTPHelo を設定します。デフォルトは $Hostname(SetstheSMTPHELOofthemessage(Defaultis$Hostname) です。)

$Host -- 属性
From: PHPMailer::$Host
File: class.phpmailer.php
説明: SMTP サーバーを設定します。形式は次のとおりです: ホスト名 [ポート番号] (smtp1.example.com:25 や smtp2.example.com など) は有効です

$Hostname--attribute
From: PHPMailer::$Hostname
ファイル: class.phpmailer.php
説明: Message-Id と andReceivedheaders に設定されたホスト名は $Helo でも使用されます。空の場合、デフォルトは SERVER_NAME または 'localhost.localdomain' になります

Hello--メソッド
From: SMTP::Hello()
File: class.smtp.php
Description: HELO コマンドを SMTP サーバーに送信します

Help-- メソッド
from: SMTP::Help()
ファイル: class.smtp.php
説明: キーワードがある場合、キーワードのヘルプ情報を取得します

I で始まる:

IsError--Method
From: PHPMailer: :IsError ()
ファイル: class.phpmailer.php
説明: エラーが発生したかどうかを返します

IsHTML--method
From: PHPMailer::IsHTML()
ファイル: class.phpmailer.php
説明: 文字が発生したかどうかを設定しますHTML形式です

IsMail--method
from:PHPMailer::IsMail()
ファイル: class.phpmailer.php
説明: メール送信にphpのメール関数を使用するかどうかを設定します

IsQmail--method
from:PHPMailer ::IsQmail()
ファイル: class.phpmailer.php
説明: 電子メールの送信に qmailMTA を使用するかどうかを設定します

IsSendmail--メソッド
From: PHPMailer::IsSendmail()
ファイル: class.phpmailer.php
説明: $Sendmail プログラムを使用するかどうか メールを送信する

IsSMTP--Method
From: PHPMailer::IsSMTP()
File: class.phpmailer.php
Description: メールを送信するために SMTP を使用するかどうか

M で始める:

$Mailer--属性
From: PHPMailer ::$Mailer
File: class.phpmailer.php
Description: 送信メソッドの 1 つ ("mail"、"sendmail"、または "smtp")。

Mail-- Method
From: SMTP::Mail ()
File: class.smtp.php
Description: $from のメールアドレスから処理を開始し、true または false を返します。true の場合、送信を開始します

N:

Noop--Method
From: SMTP::Noop()
File: class.smtp.php
Description: NOOP コマンドを SMTP サーバーに送信します

P :
$Password--プロパティ
From: PHPMailer::$Password
File: class.phpmailer.php
Description: SMTP のパスワードを設定します

$PluginDir--property
From: PHPMailer::$PluginDir
File: phpmailer。 .php
説明: phpmailer のプラグイン ディレクトリを設定します。これは、smtpclass が phpmailer ディレクトリにない場合にのみ有効です

$Port--property
From: PHPMailer::$Port
File: class.phpmailer.php
説明: SMTP ポート番号を設定します。

$Priority--属性
From: PHPMailer::$Priority
File: class.phpmailer.php
説明: 電子メール配信の優先順位を設定します。 1=緊急、3=通常、5=緊急ではない

PHPMailer--オブジェクト
From: PHPMailer
File: class.phpmailer.php
Description: PHPMailer-PHPemailtransportclass

Qで始まる

Quit--Method
From: SMTP ::Quit()
ファイル: class.smtp.php
説明: エラーが発生しない場合、Quit コマンドをサーバーに送信します。次に、靴下を閉じます。そうでない場合は、$close_on_error が true になります。

R

Recipient--method で開始します
From: SMTP::Recipient()
File: class.smtp.php
手順: To を使用して RCPT コマンドを SMTP に送信します。パラメータは次のとおりです: $to

Reset--Method
From: SMTP::Reset()
File: class.smtp.php
Description: RSET コマンドを送信して、進行中の転送をキャンセルします。成功した場合は true、それ以外の場合は false を返します。

S は次で始まります:

$Sender--property
From: PHPMailer::$Sender
File: class.phpmailer.php
Description: SetstheSenderemail(Return-Path)ofthemessage.Ifnotempty,willbesentvia -ftosendmailoras'MAILFROM'insmtpmode.

$Sendmail -- プロパティ
From: PHPMailer::$Sendmail
File: class.phpmailer.php
Description: 送信プログラムのディレクトリを設定します

$SMTPAuth -- property
From: PHPMailer ::$SMTPAuth
ファイル: class.phpmailer.php
説明: SMTP に認証が必要かどうかを設定し、ユーザー名変数とパスワード変数を使用します

$SMTPDebug--attribute
From: PHPMailer::$SMTPDebug
File: class.phpmailer.php
説明: SMTP デバッグ出力を行うかどうかを設定します。

$SMTPKeepAlive--プロパティ
From: PHPMailer::$SMTPKeepAlive
File: class.phpmailer.php
説明: 送信のたびに接続を閉じないでください。 true の場合、接続を閉じるには SmtpClose() を使用する必要があります

$SMTP_PORT--property
From: SMTP::$SMTP_PORT
File: class.smtp.php
Description: SMTP ポートを設定します

$Subject--property
From: PHPMailer::$Subject
File: class.phpmailer.php
Description: レターの件名を設定します

Send--method
From: SMTP::Send()
File: class.smtp.php
Description : From 指定したメールアドレスにメール送信を開始します

Send--Method
From: PHPMailer::Send()
File: class.phpmailer.php
手順: メールを作成し、送信プログラムを開発します。送信が失敗した場合は false が返されます。ErrorInfo を使用してエラー メッセージを表示してください。

SendAndMail--Method
From: SMTP::SendAndMail()
File: class.smtp.php
手順: 指定されたアドレスから電子メールを開始しますメールアドレス メール送信

SendOrMail--Method
From: SMTP::SendOrMail()
File: class.smtp.php
説明: 指定したメールアドレスからメール送信を開始

SetLanguage--Method
From: PHPMailer: :SetLanguage ()
ファイル: class.phpmailer.php
説明: phpmailer エラー メッセージの言語タイプを設定します。言語ファイルをロードできない場合、デフォルトは英語です。

SMTP--Method
From: SMTP。 ::SMTP()
ファイル: class.smtp.php
説明: データが既知の状態になるようにオブジェクトを初期化します

SMTP--オブジェクト
From: SMTP
File: class.smtp.php
Description: SMTPオブジェクト

SmtpClose--メソッド
From: PHPMailer::SmtpClose()
File: class.phpmailer.php
Description: アクティブな SMTP がある場合は、SMTP を閉じます。

Tで始まる

$Timeout--属性
From: PHPMailer::$Timeout
File: class.phpmailer.php
Description: SMTPサーバーのタイムアウトを設定します(単位:秒)。注: win32 では、この属性は無効です

Turn--Method
From: SMTP::Turn()
File: class.smtp.php
注: これはオプションの SMTP パラメータです。現在、phpmailer はサポートしていません。

$Username で始まる

U をサポート -- 属性
From: PHPMailer::$Username
File: class.phpmailer.php
Description:

$Version で始まる SMTP ユーザー名

V を設定します -- 属性
From: PHPMailer::$Version
ファイル: class.phpmailer.php
説明: Phpmailer のバージョンを返す

Verify--メソッド
From: SMTP::Verify()
ファイル: class.smtp.php
説明: サーバー経由ユーザー名が検証されているかどうかを確認します

W で開始します:

$WordWrap--Attribute
From: PHPMailer::$WordWrap
File: class.phpmailer.php
Description: 1 行あたりの最大文字数を設定し、自動的に折り返す数値を超えた後の行。

www.bkjia.comtru​​ehttp://www.bkjia.com/PHPjc/320699.html技術記事 phpmailer v5.1 のダウンロードは A: $AltBody で始まります -- 属性の由来: PHPMailer::$AltBody ファイル: class.phpmailer.php 説明: この属性の設定は、電子メール本文の HTML をサポートしない代替表示です。 ..
声明:
この記事の内容はネチズンが自主的に寄稿したものであり、著作権は原著者に帰属します。このサイトは、それに相当する法的責任を負いません。盗作または侵害の疑いのあるコンテンツを見つけた場合は、admin@php.cn までご連絡ください。