打开默认电子邮件客户端并预先填充内容
问题描述:
我需要在点击sendMail按钮页面时自动打开用户的默认电子邮件客户端。 我需要填写电子邮件主题,地址,正文并附上pdf文档。打开默认电子邮件客户端并预先填充内容
我该如何在JavaScript中实现这一点?
答
这可能会帮助你:
<a href="mailto:?subject=look at this website&body=Hi,I found this website
and thought you might like it http://www.geocities.com/wowhtml/">tell a friend</a>