Table of Contents
回复讨论(解决方案)
Home Backend Development PHP Tutorial 关于PHPMailer的一些疑惑

关于PHPMailer的一些疑惑

Jun 23, 2016 pm 01:51 PM
phpmailer

https://github.com/PHPMailer/PHPMailer    这个PHPMailer的下载地址。
里面的案例有这样一句话

什么意思呢?
对smtp不是很熟悉。为什么会分为这两种呢?


回复讨论(解决方案)

是否启用SMTP验证功能的配置不同,关于smtp验证:http://www.sendmail.org/~ca/email/auth.html

是否要验证,跟你的SMTP服务器有关。
如果不是自己架设的,一般是需要验证的。

smtp的身份验证
如用126的smtp服务器,就必须要验证身份
若是自己的邮件服务器,可以不设置(建议设置)

Statement of this Website
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

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

PHP methods and steps for sending emails to multiple people using PHPMailer PHP methods and steps for sending emails to multiple people using PHPMailer May 22, 2023 pm 06:10 PM

In web applications, it is often necessary to send emails to multiple recipients at once. PHP is a very popular web development language, and PHPMailer is a common PHP class library for sending emails. PHPMailer provides a rich interface, making sending emails in PHP applications more convenient and easy to use. In this article, we will introduce the methods and steps on how to use PHPMailer to send emails to multiple recipients. To download PHPMailer, you first need to go to the official website (

PHP development practice: Use PHPMailer to send emails to users in the MySQL database PHP development practice: Use PHPMailer to send emails to users in the MySQL database Aug 05, 2023 pm 06:21 PM

PHP development practice: Use PHPMailer to send emails to users in the MySQL database Introduction: In the construction of the modern Internet, email is an important communication tool. Whether it is user registration, password reset, or order confirmation in e-commerce, sending emails is an essential function. This article will introduce how to use PHPMailer to send emails and save the email information to the user information table in the MySQL database. 1. Install the PHPMailer library PHPMailer is

How to send HTML mail with embedded images using PHP and PHPMAILER? How to send HTML mail with embedded images using PHP and PHPMAILER? Jul 22, 2023 am 11:29 AM

How to send HTML mail with embedded images using PHP and PHPMAILER? HTML email is a richer and more personalized form of email that can insert pictures, links and styles into the email. Embedded images refer to sending images directly as part of the email in the HTML email instead of sending them as attachments. In PHP, we can use PHPMAILER to send HTML emails with embedded images. PHPMAILER is a powerful PHP email sending library

Mastering PHP and PHPMAILER: How to implement the automatic reply function for email sending? Mastering PHP and PHPMAILER: How to implement the automatic reply function for email sending? Jul 22, 2023 am 11:57 AM

Mastering PHP and PHPMAILER: How to implement the automatic reply function for email sending? In modern society, email has become one of the important ways for people to communicate every day. Many websites or companies need to communicate with users through emails, and automatic reply to emails has become very important. This article will introduce how to use PHP and the PHPMailer library to implement the automatic reply function for email sending. Step 1: Get the user’s email information First, we need to get the user’s email information. On a website or application, use

PHP and PHPMAILER: How to implement anti-spam function for email sending? PHP and PHPMAILER: How to implement anti-spam function for email sending? Jul 22, 2023 am 11:46 AM

PHP and PHPMAILER: How to implement anti-spam function for email sending? Introduction: In the Internet age, email has become an indispensable part of our daily life and work. However, with the popularity and use of email, the problem of spam has become increasingly serious, causing a lot of trouble to users. In order to solve this problem, this article will introduce how to use PHP and PHPMailer library to implement the anti-spam function of email sending. 1. Understand spam. Spam refers to those unsolicited

PHP methods and precautions for sending attachment emails using the PHPMailer library PHP methods and precautions for sending attachment emails using the PHPMailer library May 21, 2023 pm 06:12 PM

PHP methods and precautions for sending attachment emails using the PHPMailer library. Email has become a very important way of communication in modern life. In many development projects, we need to use code to automatically send emails. At this time, the PHPMailer library is our best choice. PHPMailer is a library dedicated to sending emails in PHP. It can easily send emails, including HTML-formatted emails and attachments. This article will focus on how to send emails with attachments in the PHPMailer library.

How to send HTML mail with pictures using PHP and PHPMAILER? How to send HTML mail with pictures using PHP and PHPMAILER? Jul 21, 2023 am 09:21 AM

How to send HTML emails with images using PHP and PHPMailer? Email plays an important role in modern communication, but sending HTML emails with images may confuse some PHP developers. In this article, we will introduce how to use PHP and PHPMailer to send HTML emails with images. We'll provide code examples to help you better understand how to achieve this. First, we need to make sure that the PHPMailer library is installed in our project

How to send HTML formatted emails using PHP and PHPMAILER? How to send HTML formatted emails using PHP and PHPMAILER? Jul 22, 2023 am 10:14 AM

How to send HTML formatted emails using PHP and PHPMailer? With the development of the Internet, email has become an important tool for people's daily communication. When developing websites and applications, we often need to use PHP and PHPMailer to send emails. This article will introduce you to how to use PHP and PHPMailer to send emails in HTML format, and provide corresponding code examples. Step One: Preparation Before you begin, you need to make sure you have PHP and PHPmail installed

See all articles