简体   繁体   English

打开 Outlook(应用程序或浏览器)并填充收件人字段

[英]Open Outlook (aaplication or browser) and populate recipient field

I'm a learning designer working in Articulate Storyline.我是一名在 Articulate Storyline 工作的学习设计师。 I've asked this on their community site but its been suggested to ask here.我在他们的社区网站上问过这个问题,但建议在这里问。 In Articulate I have the option to add in Javascript under what they call triggers, this is the query I have.在 Articulate 中,我可以选择在他们所谓的触发器下添加 Javascript,这就是我的查询。

When the button is clicked, I would like specifically Outlook to open and the recipient field to be populated with a certain email address.单击该按钮时,我特别希望打开 Outlook 并用某个 email 地址填充收件人字段。 From what I have searched so far, I understand I can open Outlook's browser version using window.open("https://outlook.live.com/mail/0/") .根据我到目前为止的搜索,我知道我可以使用window.open("https://outlook.live.com/mail/0/")打开 Outlook 的浏览器版本。 When added to the trigger this works.当添加到触发器中时,它可以工作。 However, I can't see where the mailto command would sit with this.但是,我看不到mailto命令将与此放在哪里。

Is it even possible to open the compose mail window in a browser and or is there anyway to open the desktop application instead.是否可以在浏览器中打开撰写邮件 window 或者是否可以打开桌面应用程序。

Thanks for any advice or help you can give me here.感谢您在这里给我的任何建议或帮助。

Not knowing the specifics of Articulate Storyline, but if you can add HTML one option is to use a regular "a" tag for this.不知道 Articulate Storyline 的细节,但如果您可以添加 HTML 一个选项是为此使用常规的“a”标签。 It will open in the e-mail client that is default on the users computer though, which may be Outlook or something else.它将在用户计算机上默认的电子邮件客户端中打开,可能是 Outlook 或其他。

<a href="mailto:jane.doe@somewhere.com">Email link</a>

You can read more here: https://www.w3schools.com/tags/tag_address.asp您可以在此处阅读更多信息: https://www.w3schools.com/tags/tag_address.asp

Is it even possible to open the compose mail window in a browser and or is there anyway to open the desktop application instead.是否可以在浏览器中打开撰写邮件 window 或者是否可以打开桌面应用程序。

Use the mailto protocol which opens a client's e-mail system and begins a new email message.使用mailto协议打开客户端的电子邮件系统并开始新的 email 消息。 For example:例如:

<a href="mailto:user@example.com?
    subject=MessageTitle&amp;
    body=Message Content">
    Contact Us</a>

The following example shows how to use an HTML form to create an e-mail message.以下示例显示如何使用 HTML 表单来创建电子邮件消息。

<form action="mailto:user@example.com" method="get">
<input name="subject" type="hidden" value="Message Title">

Feedback:<br/>
<textarea name=body cols="40">
Please share your thoughts here
and then choose Send Feedback.
</textarea>

<input type="submit" value="Send Feedback">
</form>

For more information on the mailto protocol, see RFC2368: The mailto URL scheme .有关mailto协议的更多信息,请参阅RFC2368:mailto URL 方案

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 从Outlook打开“小型”浏览器 - Open “small” browser from Outlook 在Outlook 2010(而不是浏览器)中打开eml文件链接 - Open eml file link in Outlook 2010 (and not browser) 如何从浏览器打开机器上的 outlook 客户端以添加日历事件? - How to open outlook client on machine from browser to add calendar event? 如何使用在 javascript 中添加的收件人重定向到 Outlook 邮件? - How to redirect to outlook mail with a recipient added in javascript? 将mailto的收件人更改为在文本字段中输入的内容 - Changing the recipient of the mailto to what is entered in the text field 如何使用自定义协议从android浏览器打开Microsoft Outlook应用程序? - How to open Microsoft outlook app from android browser using custom protocol? 我需要通过单击任何带有附件的浏览器的按钮来打开Outlook电子邮件窗口 - I need to open an Outlook email window from the button click on any browser with attachment Salesforce:用机会所有者的经理自动填充DocuSign收件人 - Salesforce: Auto-populate DocuSign recipient with the opportunity owner's manager SSRS 2017 通过单击报告字段打开具有多个电子邮件地址的 Outlook 电子邮件 - SSRS 2017 Open Outlook email with multiple email addresses by clicking on a report field 从网站打开新Outlook,mailTo链接过长,*。eml文件密件抄送字段未加载 - open new Outlook from website, too long mailTo Link, *.eml file bcc field not loaded
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM