【问题标题】:Open default email client and pre-populate content [duplicate]打开默认电子邮件客户端并预填充内容[重复]
【发布时间】:2018-02-09 17:26:20
【问题描述】:

当用户单击页面的 sendMail 按钮时,我需要自动打开用户的默认电子邮件客户端。 我需要填写电子邮件主题、地址、正文和附加 pdf 文档。

如何在 javascript 中实现这一点?

【问题讨论】:

    标签: javascript angularjs


    【解决方案1】:

    这可能对您有所帮助:

    <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>
    

    【讨论】:

      猜你喜欢
      • 2012-10-25
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多