Home > Web Front-end > HTML Tutorial > Sending html emails is simple through Mailto

Sending html emails is simple through Mailto

不言
Release: 2018-04-27 14:36:29
Original
11467 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

Copy code

The code is as follows:

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

2. Complex link
Code:

Copy 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
<pre class="brush:php;toolbar:false">
参数说明:

CC:抄送地址;

BCC:密件抄送地址;

Subject:主题;

Body:邮件内容。

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

Copy after login

The above is the detailed content of Sending html emails is simple 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