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

Y2J
Release: 2017-05-24 09:12:24
Original
2870 people have browsed it

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>
Copy after login


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>
Copy after login

 
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>
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!

Related labels:
source:php.cn
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template