1. 据题意, 可用mail函数发, 但有的可以, 有的不可以
2. 但又想"实现如何能使本地默认outlook邮箱打开,并且将输入的email内容粘贴到outlook中????"
我记得有个功能, 就击一个链接就可以实现
<a href="mailto: [email protected][email protected]&[email protected]&subject=mailto&body=mailto">mailto demo</a>
因为我们可以用js来实现这一段功能

解决方案 »

  1.   

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    <html>
    <head>
    <title> New Document </title>
    <meta name="Generator" content="EditPlus">
    <meta name="Author" content="">
    <meta name="Keywords" content="">
    <meta name="Description" content="">
    </head><body>
    <a href="mailto: [email protected][email protected]&[email protected]&subject=mailto&body=mailto">mailto demo</a>输入email地址<input type=text name=emailaddr>
     输入email内容<textarea name=content cols=40 row=4></textarea> 
     <a href='#' name='mailto' id='mailto'>&nbsp;</a>
     <input type="button" value='我要' onclick='goto()'>
     <script>
     function goto()
     {
     document.getElementById("mailto").href="mailto: "+document.all.emailaddr.value +"[email protected]&[email protected]&subject=mailto&body="+document.all.content.value;
     document.getElementById("mailto").click();
     }
     </script></body>
    </html>
      

  2.   

    一定要用href吗?
    用表单提交不行吗?
      

  3.   

    有js里面再加一句
    function goto()
     {
              //这里加document.all.emailaddr.value用js判断是否合格
     document.getElementById("mailto").href="mailto: "+document.all.emailaddr.value +"[email protected]&[email protected]&subject=mailto&body="+document.all.content.value;
     document.getElementById("mailto").click();
     }
      

  4.   

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    <html>
    <head>
    <title> New Document </title>
    <meta name="Generator" content="EditPlus">
    <meta name="Author" content="">
    <meta name="Keywords" content="">
    <meta name="Description" content="">
    </head><body>
    <a href="mailto: [email protected][email protected]&[email protected]&subject=mailto&body=mailto">mailto demo</a>输入email地址<input type=text name=emailaddr>
     输入email内容<textarea name=content cols=40 row=4></textarea> 
     <a href='#' name='mailto' id='mailto'>&nbsp;</a>
     <input type="button" value='我要' onclick='goto()'>
     <script>
     function goto()
     {
     var aa =/^[_a-z0-9]+@([_a-z0-9]+\.)+[a-z0-9]{2,3}$/;
     reg=new RegExp(aa);
     alert(document.all.emailaddr.value)
     if (reg.test(document.all.emailaddr.value) == false)
     {
     alert(reg.test(document.all.emailaddr.value)+"您的email不合法.");
     return false;
     }
     document.getElementById("mailto").href="mailto: "+document.all.emailaddr.value +"[email protected]&[email protected]&subject=mailto&body="+document.all.content.value;
     document.getElementById("mailto").click();
     }
     </script></body>
    </html>
      

  5.   

    谢谢fristfly(再来, 再来)帮忙了,接分吧!