Home  >  Article  >  Web Front-end  >  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

Y2J
Y2JOriginal
2017-05-24 09:12:242871browse

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:

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


2. Complex link
code:

The code is as follows:

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

e03b848252eb9375d56be284e690e873bc5574f69a0cba105bc93bd3dc13c4ec
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:抄送地址;</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>

【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:
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