[英]How to redirect to outlook mail with a recipient added in javascript?
In gmail i can add the recipients in the link and it will direct to compose mail as written below在 gmail 中,我可以在链接中添加收件人,它会直接撰写邮件,如下所示
let email = "alexmurphy98@gmail.com";
let link = `https://mail.google.com/mail/?view=cm&fs=1&to=${email}`;
Then in an anchor tag to use that link然后在锚标记中使用该链接
<a href=`${link}` target="_blank">gmail</a>
My question is how can i do the same thing in outlook?As their compose does not contain any link.我的问题是如何在 Outlook 中做同样的事情?因为他们的撰写不包含任何链接。
试试这个,这似乎工作正常。
https://outlook.live.com/mail/0/deeplink/compose?to=your@email.com
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.