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>
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:邮件内容。
注:多个邮件地址用";"隔开。
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!