HTML send mail through mailto simple implementation

Time:2020-11-28

Recently to the customer’s mailbox of the footers plus Click to send email function, their Baidu next, the solution is very simple

Make a simple link

Copy code

The code is as follows:

<a href=” Mailto:[email protected] “> email me</a>

2. Complex links
code:

Copy code

The code is as follows:

<pre name=”code”><a href=” Mailto:[email protected][email protected]&[email protected]&Subject=Hello&Body= Hello “> email me < / 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: CC address</p>
<p style=”color:rgb(51,51,51); font-family:Arial; font-size:14px; line-height:26px”>
BCC: BCC address</p>
<p style=”color:rgb(51,51,51); font-family:Arial; font-size:14px; line-height:26px”>
Subject: subject</p>
<p style=”color:rgb(51,51,51); font-family:Arial; font-size:14px; line-height:26px”>
Body: the content of the email. </p>
<p style=”color:rgb(51,51,51); font-family:Arial; font-size:14px; line-height:26px”>
Note: multiple email addresses are separated by “;”. </p>

Recommended Today

How to write an avatar component with ripple effect by using react

Author: stony Chen Take a look at the final effect first, as shown in the following figure: We refer to the component effect and stylehttps://v4.mui.com/components…However, component properties are somewhat different from material UI. In addition, we also made an additional ripple effect surrounded by avatar components. List of components and attributes to be completed: Step […]