如何在html页面中发送兼容mac和pc的电子邮件

时间:2014-06-11 09:35:31

标签: javascript jquery html email

当用户点击HTML页面上的按钮时,我需要发送一封电子邮件。电子邮件在正文中有标题,文本和超链接图像。目前我一直在使用' .oft'从HTML模板保存的文件,但这意味着它只支持PC而不支持Mac。我需要让普遍成为可能。还有什么方法可以做到这一点?

' .oft'附在' email.png'文件

html网站本身的代码:

 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>TEST SITE</title>
    <meta http-equiv="pragma" content="no-cache" /> 
    <meta http-equiv="cache-control" content="no-cache" /> 
    <meta http-equiv="Expires" content="0" /> 
    <meta name="Keywords" content="" /> 
    <meta name="Description" content="" /> 

    <link rel="stylesheet" type="text/css" href="all.css" />

  <link rel="stylesheet" type="text/css" href="help/css/reset.css" />
  <link rel="stylesheet" type="text/css" href="help/css/style.css" />

  <script type="text/javascript" src="javascript/jquery.min.js"></script>

  <link rel="stylesheet" type="text/css" href="javascript/lightbox/themes/default/jquery.lightbox.css" />
  <script type="text/javascript" src="javascript/lightbox/jquery.lightbox.js"></script>
  <script type="text/javascript">
    jQuery(document).ready(function(){
      jQuery('.lightbox').lightbox();
    });
  </script>

  <script type="text/javascript">
  jQuery(document).ready(function(){

    jQuery.lightbox("video/reel-hi.html?lightbox[iframe]=true&lightbox[width]=530&lightbox[height]=430");

  });
</script>

</head>
<body>
    <div id="wrapper">
        <div id="content-in">
            <div id="content-container">
                <a href="video/reel-hi.html?lightbox[iframe]=true&lightbox[width]=530&lightbox[height]=430" class="lightbox" alt="Thank you for your patience!"><img src="bg.jpg" /></a><br />
                    <a href="email.oft"><img src="email.png" border="0" /></a>
            </div>            
        </div>
    </div>
</body>
</html>

0 个答案:

没有答案