与电子邮件参数链接的电子邮件在浏览器中打开Outlook并开始新电子邮件 [英] Email to link with email parameter opens outlook in browser starts new email

查看:265
本文介绍了与电子邮件参数链接的电子邮件在浏览器中打开Outlook并开始新电子邮件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我希望替换为"mailto:",以便将用户重定向到浏览器中的Outlook帐户,并使用链接中的电子邮件发送新电子邮件.

mailto:适用于所有在本地设置默认应用程序前景的用户.

mailto: works for all users if they have set up default application outlook locally.

<a href="mailto:example@outlook.com">Send Email</a>

这将打开默认电子邮件应用程序,以将新电子邮件发送到"example@outlook.com"

This opens the default email application to send new email to 'example@outlook.com'

我想专门针对Office365 Outlook邮件用户使用此功能,因此我不需要使用默认应用,例如:

I want to use this specifically for office365 outlook mail users, so instead of using default app, I need something for example:

<a href="http://sendemailusingoutlook?toEmail=example@outlook.com">Send Email</a>

当用户单击发送电子邮件"时,应在浏览器中打开office365前景,并将新电子邮件发送到"example@outlook.com"

And when user clicks on 'Send Email' It should open the office365 outlook in browser and have new email to 'example@outlook.com'

有什么可能的方法来做到这一点?先感谢您.

Is there any possible way to accomplish that? Thank you in advance.

推荐答案

使用以下URL从Outlook在线启动电子邮件,您可以修改电子邮件地址,主题和电子邮件正文.

Use the following url to launch email from the outlook online, you can modify the email address, subject, and email body.

https://outlook.office.com/owa/?path=/mail/action/compose&to=emailname@domain.com&subject=Email%20Subject%20Here&body=some+content+goes+here

撰写Outlook电子邮件的链接:

Link to compose outlook email:

https://outlook.office.com/owa/?path=/mail/action/compose

根据用例在URL中传递参数:

Pass parameters in URL based on your usecase:

&to=emailname@domain.com
&subject=Email%20Subject%20Here
&body=some+content+goes+here

这篇关于与电子邮件参数链接的电子邮件在浏览器中打开Outlook并开始新电子邮件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆