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

Deeply analyze the principle and practice of RSA key

1、 Preface After experiencing many dark moments in life, when you read this article, you will regret and even be angry: why didn’t you write this article earlier?! Your darkest moments include: 1. Your project needs to be connected with the bank, and the other party needs you to provide an encryption certificate. You have […]