用户名:
密 码: 记住
您当前的位置:首页 > 网络编程 > 网站制作

html发送邮件通过Mailto简单实现

时间:1970-01-01  来源:互联网  作者:佚名
最近给客户的页脚的邮箱加上点击发送邮件功能,自己百度了下,解决方法很简单

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>

来顶一下
返回首页
返回首页
推荐资讯
从零开始学ASP.NET-基础篇第1/7页 从零开始学ASP.NET-基础篇第1/7页第一天 学习目的: 掌握最基本的Label、TextBox、Button控件
ASP.NET入门数据篇 ASP.NET入门数据篇对于网站编程的初学者来说,总是会上网找些源码来看,但久而
相关文章
栏目更新
栏目热门