給客戶(hù)的頁(yè)腳的郵箱加上點(diǎn)擊發(fā)送郵件功能,有簡(jiǎn)單的鏈接和復(fù)雜的鏈接,對(duì)于復(fù)雜鏈接有詳細(xì)的參數(shù)說(shuō)明,感興趣的朋友可以參考下
最近給客戶(hù)的頁(yè)腳的郵箱加上點(diǎn)擊發(fā)送郵件功能,自己百度了下,解決方法很簡(jiǎn)單
1.簡(jiǎn)單的做個(gè)鏈接就行了
代碼如下:
<a href="Mailto:test@163.com">給我發(fā)郵件</a>
2. 復(fù)雜的鏈接
代碼:
代碼如下:
<pre name="code" class="html"><a href="Mailto:test@163.com?CC=test@163.com&BCC=test@163.com&Subject=Hello&Body=你好">給我發(fā)郵件</a></pre>
<pre></pre>
參數(shù)說(shuō)明:
<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:郵件內(nèi)容。</p>
<p style="color:rgb(51,51,51); font-family:Arial; font-size:14px; line-height:26px">
注:多個(gè)郵件地址用";"隔開(kāi)。</p>