1简单的做个链接就行了
代码如下:
<a href="Mailto:test@163.com">给我发邮件</a>
2. 复杂的链接
代码:
代码如下:
<pre name="code" class="html"><a href="Mailto:test@163.com?CC=test@163.com&BCC=test@163.com&Subject=Hello&Body=你好">给我发邮件</a></pre>
<pre></pre>
参数说明:
<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>
【相关推荐】
1. Html免费视频教程
以上就是html利用Mailto实现邮件发送功能的实例详解的详细内容,更多请关注php中文网其它相关文章!
前端(VUE)零基础到就业课程:点击学习
快捷开发Web应用及小程序:点击使用
![](http://m.sbmmt.com/img/upload/article/000/000/020/633501a29d313483.png)