【发布时间】:2011-12-14 11:24:53
【问题描述】:
我正在创建一个 html 页面,并且我的 html 页面中有一个按钮。单击按钮后,必须使用“To”和“Subject”信息打开前景,如图所示。
谁能帮助我如何用php打开outlook。在此先感谢。
【问题讨论】:
-
如果客户的 PC 上没有 Outlook,你会怎么做? HTML 命令是
<mailto ....>
我正在创建一个 html 页面,并且我的 html 页面中有一个按钮。单击按钮后,必须使用“To”和“Subject”信息打开前景,如图所示。
谁能帮助我如何用php打开outlook。在此先感谢。
【问题讨论】:
<mailto ....>
这里是使用的链接:
<a href="mailto:manish@simplygraphix.com?subject=Feedback for webdevelopersnotes.com&body=The Tips and Tricks section is great">Send me an email</a>
【讨论】:
$(document).ready() 函数中添加 $('a').button()
使用 mailto 超链接在客户端机器上打开邮件应用程序
<a href="mailto:toid@example.com?Subject=subject here&Body=bodytext">
Link display text
</a>
您还可以使用查询字符串参数添加 cc 和 bcc,就像我们为 body 所做的那样。
这将打开客户端机器上配置的默认邮件应用程序;它可能会相应地打开不同的应用程序。
【讨论】:
我认为你应该使用如下标签
<a href="mailto:your_mail@example.com">your_email</a>
但打开 Outlook、Thunderbird 或其他客户端是用户的默认设置。
【讨论】: