DIV CSS 佈局教程網

 DIV+CSS佈局教程網 >> 網頁腳本 >> HTML基礎知識 >> HTML和Xhtml >> html發送郵件通過Mailto簡單實現
html發送郵件通過Mailto簡單實現
編輯:HTML和Xhtml     
最近給客戶的頁腳的郵箱加上點擊發送郵件功能,自己百度了下,解決方法很簡單

1簡單的做個鏈接就行了

復制代碼代碼如下:
<a href="Mailto:[email protected]">給我發郵件</a>

2. 復雜的鏈接
代碼:

復制代碼代碼如下:
<pre name="code" class="html"><a href="Mailto:[email protected][email protected]&[email protected]&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>

XML學習教程| jQuery入門知識| AJAX入門| Dreamweaver教程| Fireworks入門知識| SEO技巧| SEO優化集錦|
Copyright © DIV+CSS佈局教程網 All Rights Reserved