使用php和html打开outlook新邮件

bha*_*thi 5 html php outlook drupal

我正在创建一个html页面,我的html页面中有一个按钮.单击按钮后,必须使用" To "和" Subject "信息打开outlook ,如图所示.

在此输入图像描述

可以帮助我如何用php.Thanks提前打开Outlook.

Dav*_*rge 21

这里使用的链接:

<a href="mailto:manish@simplygraphix.com?subject=Feedback for webdevelopersnotes.com&body=The Tips and Tricks section is great">Send me an email</a>
Run Code Online (Sandbox Code Playgroud)

来源就在这里.


Mah*_*eep 6

使用mailto超链接在客户端计算机上打开邮件应用程序

<a href="mailto:toid@example.com?Subject=subject here&Body=bodytext">
    Link display text
</a>
Run Code Online (Sandbox Code Playgroud)

您也可以使用查询字符串参数添加ccbcc,就像我们为body所做的那样.

这将打开客户机上配置的默认邮件应用程序; 它可以相应地打开不同的应用.