Home > Web Front-end > HTML Tutorial > A simple way to send html emails through Mailto

A simple way to send html emails through Mailto

高洛峰
Release: 2017-03-10 13:17:46
Original
17811 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 email address in the footer. I searched it on Baidu, and 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>
 
参数说明: 

CC:抄送地址;

BCC:密件抄送地址;

Subject:主题;

Body:邮件内容。

注:多个邮件地址用";"隔开。

Copy after login


The above is the detailed content of A simple way to send html emails through Mailto. 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