1.通过连接发送邮件:
<a href="mailto:email_name@163.com"> <img src="../resources/images/apply_email_cn.png"> </a>
2.通过点击按钮发送:
<img οnclick="applyEmailNow();" src="../resources/images/apply_email_cn.png">
applyEmailNow()行数如下:
<script type="text/javascript"> function applyEmailNow(){ document.location="mailto:mail_name@163.com; ?subject= <%=java.net.URLEncoder.encode("应聘经理助理","GBK")%>"; } </script>