Sending emails in html is easy with Mailto

Sending emails in html is easy with Mailto
Recently, I added a click-to-send email function to the customer's footer mailbox. I searched Baidu and found that the solution is very simple.

1 Simply make a link

Copy code
The code is as follows:

<a href="Mailto:[email protected]">Send me an email</a>

2. Complex link code:

Copy code
The code is as follows:

<pre name="code" class="html"><a href="Mailto:[email protected][email protected]&[email protected]&Subject=Hello&Body=你好">Send me an email</a></pre>


<pre></pre>
Parameter Description:
<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: carbon copy address;</p>
<p style="color:rgb(51,51,51); font-family:Arial; font-size:14px; line-height:26px">
BCC: Blind carbon copy address;</p>
<p style="color:rgb(51,51,51); font-family:Arial; font-size:14px; line-height:26px">
Subject: topic;</p>
<p style="color:rgb(51,51,51); font-family:Arial; font-size:14px; line-height:26px">
Body: Email content. </p>
<p style="color:rgb(51,51,51); font-family:Arial; font-size:14px; line-height:26px">
Note: Use ";" to separate multiple email addresses. </p>

<<:  Vue3 setup() advanced usage examples detailed explanation

>>:  Sample code for implementing honeycomb/hexagonal atlas with CSS

Recommend

Sample code for implementing dark mode with CSS variables

Recently, WeChat was forced by Apple to develop a...

Some tips on website design

In fact, we have been hearing a lot about web des...

Two ways to implement HTML to randomly drag content positions

Test: Chrome v80.0.3987.122 is normal There are t...

14 practical experiences on reducing SCSS style code by 50%

Preface Sass is an extension of the CSS3 language...

The difference between delete, truncate, and drop and how to choose

Preface Last week, a colleague asked me: "Br...

Implementation of Docker cross-host network (manual)

1. Introduction to Macvlan Before the emergence o...

Docker custom network detailed introduction

Table of contents Docker custom network 1. Introd...

Detailed explanation of JavaScript array deduplication

Table of contents 1. Array deduplication 2. Dedup...

...

How to add default time to a field in MySQL

Date type differences and uses MySQL has five dat...

Mysql 8.0 installation and password reset issues

Mysql 8.0 installation problems and password rese...