All objects and attributes of phpmailer Chinese_PHP Tutorial
前言: 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

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics

The default map on the iPhone is Maps, Apple's proprietary geolocation provider. Although the map is getting better, it doesn't work well outside the United States. It has nothing to offer compared to Google Maps. In this article, we discuss the feasible steps to use Google Maps to become the default map on your iPhone. How to Make Google Maps the Default Map in iPhone Setting Google Maps as the default map app on your phone is easier than you think. Follow the steps below – Prerequisite steps – You must have Gmail installed on your phone. Step 1 – Open the AppStore. Step 2 – Search for “Gmail”. Step 3 – Click next to Gmail app

Call of Duty Warzone is a newly launched mobile game. Many players are very curious about how to set the language of this game to Chinese. In fact, it is very simple. Players only need to download the Chinese language pack, and then You can modify it after using it. The detailed content can be learned in this Chinese setting method introduction. Let us take a look together. How to set the Chinese language for the mobile game Call of Duty: Warzone 1. First enter the game and click the settings icon in the upper right corner of the interface. 2. In the menu bar that appears, find the [Download] option and click it. 3. Select [SIMPLIFIEDCHINESE] (Simplified Chinese) on this page to download the Simplified Chinese installation package. 4. Return to the settings

Excel spreadsheet is one of the office software that many people are using now. Some users, because their computer is Win11 system, so the English interface is displayed. They want to switch to the Chinese interface, but they don’t know how to operate it. To solve this problem, this issue The editor is here to answer the questions for all users. Let’s take a look at the content shared in today’s software tutorial. Tutorial for switching Excel to Chinese: 1. Enter the software and click the "File" option on the left side of the toolbar at the top of the page. 2. Select "options" from the options given below. 3. After entering the new interface, click the “language” option on the left

Is the clock app missing from your phone? The date and time will still appear on your iPhone's status bar. However, without the Clock app, you won’t be able to use world clock, stopwatch, alarm clock, and many other features. Therefore, fixing missing clock app should be at the top of your to-do list. These solutions can help you resolve this issue. Fix 1 – Place the Clock App If you mistakenly removed the Clock app from your home screen, you can put the Clock app back in its place. Step 1 – Unlock your iPhone and start swiping to the left until you reach the App Library page. Step 2 – Next, search for “clock” in the search box. Step 3 – When you see “Clock” below in the search results, press and hold it and

"WWE2K24" is a racing sports game created by Visual Concepts and was officially released on March 9, 2024. This game has been highly praised, and many players are eagerly interested in whether it will have a Chinese version. Unfortunately, so far, "WWE2K24" has not yet launched a Chinese language version. Will wwe2k24 be in Chinese? Answer: Chinese is not currently supported. The standard version of WWE2K24 in the Steam Chinese region is priced at 199 yuan, the deluxe version is 329 yuan, and the commemorative edition is 395 yuan. The game has relatively high configuration requirements, and there are certain standards in terms of processor, graphics card, or running memory. Official recommended configuration and minimum configuration introduction:

VSCode Setup in Chinese: A Complete Guide In software development, Visual Studio Code (VSCode for short) is a commonly used integrated development environment. For developers who use Chinese, setting VSCode to the Chinese interface can improve work efficiency. This article will provide you with a complete guide, detailing how to set VSCode to a Chinese interface and providing specific code examples. Step 1: Download and install the language pack. After opening VSCode, click on the left

Are you getting "Unable to allow access to camera and microphone" when trying to use the app? Typically, you grant camera and microphone permissions to specific people on a need-to-provide basis. However, if you deny permission, the camera and microphone will not work and will display this error message instead. Solving this problem is very basic and you can do it in a minute or two. Fix 1 – Provide Camera, Microphone Permissions You can provide the necessary camera and microphone permissions directly in settings. Step 1 – Go to the Settings tab. Step 2 – Open the Privacy & Security panel. Step 3 – Turn on the “Camera” permission there. Step 4 – Inside, you will find a list of apps that have requested permission for your phone’s camera. Step 5 – Open the “Camera” of the specified app

Tips for solving Chinese garbled characters written by PHP into txt files. With the rapid development of the Internet, PHP, as a widely used programming language, is used by more and more developers. In PHP development, it is often necessary to read and write text files, including txt files that write Chinese content. However, due to encoding format problems, sometimes the written Chinese will appear garbled. This article will introduce some techniques to solve the problem of Chinese garbled characters written into txt files by PHP, and provide specific code examples. Problem analysis in PHP, text
