Home Web Front-end HTML Tutorial Detailed explanation of examples of html using Mailto to implement email sending function

Detailed explanation of examples of html using Mailto to implement email sending function

May 24, 2017 am 09:12 AM
send email

Add a click-to-send email function to the customer's footer mailbox. There are simple links and complex links. There are detailed parameter descriptions for complex links. Interested friends can refer to the following Recently, I added a click-to-send email function to the customer's footer mailbox. I searched it on Baidu. The solution is very simple.

1 Just make a link.

The code is as follows:

1

<a href="Mailto:test@163.com">给我发邮件</a>

Copy after login


2. Complex link
code:

The code is as follows:

1

<pre name="code" class="html"><a href="Mailto:test@163.com?CC=test@163.com&BCC=test@163.com&Subject=Hello&Body=你好">给我发邮件</a>

Copy after login

1

 


Parameter description:

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

<p style="color:rgb(51,51,51);

font

-family:Arial;

font-size

:14px;

line-height

:26px">

</p>

<p style="color:rgb(51,51,51); font-family:Arial; font-size:14px; line-height:26px">

CC:抄送地址;</p>

<p style="color:rgb(51,51,51); font-family:Arial; font-size:14px; line-height:26px">

BCC:密件抄送地址;</p>

<p style="color:rgb(51,51,51); font-family:Arial; font-size:14px; line-height:26px">

Subject:主题;</p>

<p style="color:rgb(51,51,51); font-family:Arial; font-size:14px; line-height:26px">

Body:邮件内容。</p>

<p style="color:rgb(51,51,51); font-family:Arial; font-size:14px; line-height:26px">

注:多个邮件地址用";"隔开。</p>

Copy after login

【Related Recommendations】

1. Html Free Video Tutorial

2. Detailed Examples of Implementing Border Rounding in Html

3. html implements a fixed table around and can scroll up, down, left and right

4. Detailed explanation of HTML tags commonly used in front-end development

5. Pure html code to complete the scrolling effect through the marquee tag

The above is the detailed content of Detailed explanation of examples of html using Mailto to implement email sending function. For more information, please follow other related articles on the PHP Chinese website!

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

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Roblox: Bubble Gum Simulator Infinity - How To Get And Use Royal Keys
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
Nordhold: Fusion System, Explained
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌

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)

Hot Topics

Java Tutorial
1664
14
PHP Tutorial
1269
29
C# Tutorial
1248
24
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 email using Flask-Mail How to send email using Flask-Mail Aug 02, 2023 am 10:17 AM

How to use Flask-Mail to send emails With the development of the Internet, email has become an important tool for people to communicate. When developing web applications, sometimes we need to send emails in specific scenarios, such as sending a welcome email after a user successfully registers, or sending a password reset email when a user forgets their password, etc. Flask is a simple and flexible Python Web framework, and Flask-Mail is an extension library for sending emails under the Flask framework. This article will introduce how to

Python connects to Alibaba Cloud interface to implement email sending function Python connects to Alibaba Cloud interface to implement email sending function Jul 05, 2023 pm 04:33 PM

Python connects to the Alibaba Cloud interface to implement the email sending function. Alibaba Cloud provides a series of service interfaces, including email sending services. By connecting to the Alibaba Cloud interface through a Python script, we can quickly send emails. This article will show you how to use Python scripts to connect to the Alibaba Cloud interface and implement the email sending function. First, we need to apply for the email sending service on Alibaba Cloud and obtain the corresponding interface information. In the Alibaba Cloud Management Console, select the email push service and create a new email

How to send mail using PHP queue? How to send mail using PHP queue? Sep 13, 2023 am 08:00 AM

How to send mail using PHP queue? In modern web development, we often need to send large amounts of emails. Whether you're sending bulk emails to a large number of users or sending personalized emails based on user behavior, using queues to send emails is a great practice. Queues can help us improve the efficiency and stability of email sending, avoid excessive server load caused by sending too many emails, and can also handle scenarios where sending fails. In PHP development, we can use common queue tools such as Rab

PHP methods and precautions for sending emails using PHPMailer PHP methods and precautions for sending emails using PHPMailer May 22, 2023 pm 11:40 PM

With the development of Internet technology and the popularity of networks, more and more applications require the use of email for communication. As a popular server-side programming language, PHP naturally needs the function of sending emails in website development. As an open source PHP mail class library, PHPMailer can easily and quickly send emails in PHP programs. This article will introduce how to use PHPMailer to send emails and what to pay attention to. 1. Introduction to PHPMailer PHP

The complete process of sending emails using PHP mail function The complete process of sending emails using PHP mail function May 22, 2023 am 08:00 AM

The complete process of sending emails using the mail function in PHP. With the development of Internet technology, email plays an increasingly important role in daily life. Sending and receiving emails has become an essential work and lifestyle for people. In website development, it is often necessary to perform various notifications, verifications, registrations, etc. through emails. This article will introduce the complete process of sending emails using the mail function in PHP. 1. The basic form of the mail function In PHP, the function used to send emails is mail().

How to send emails using PHP email() function How to send emails using PHP email() function May 22, 2023 pm 03:10 PM

With the continuous development and popularization of the Internet, email has become an indispensable part of people's daily communication. During the website backend development process, it is often necessary to use PHP to send emails to meet functions such as email notifications and registration verification. PHP provides the email() function to send emails, and it is very simple to use. This article will introduce in detail how to use PHP's email() function to send emails. 1. SMTP configuration Before using the email() function to send emails, SMTP needs to be configured.

See all articles