Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
411 views
in Technique[技术] by (71.8m points)

html - How to mailto to office 365?

How to mailto to office 365 like this one on the gmail - Open Gmail on mailto: action.

I have this link:

https://outlook.office365.com/owa/#viewmodel=IMailComposeViewModelFactory

but I have no idea for recipient parameter to put in the TO. Please help guys.

Here's how it do it in Gmail:

<a href="https://mail.google.com/mail/?view=cm&fs=1&to=email@domain.com">sample@domain.com</a>

Now here's what i do in Office 365 but i dont know what is the right parameter for the Recipient:

<a href="https://pod51038.outlook.com/owa/#viewmodel=IMailComposeViewModelFactory">sample@domain.com</a>
See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

Office 365 now supports composing an email using a URL:

https://outlook.office.com/?path=/mail/action/compose&to=service@domain.com&subject=Customer Service Request&body=Add+Your+Request+here

available parameters:

  • path /mail/action/compose
  • subject Customer Service Request
  • body Add your request here
  • to service@domain.com
  • cc is not supported at this point.

See https://blogs.msdn.microsoft.com/carloshm/2016/01/16/how-to-compose-a-new-message-or-event-and-populate-fields-in-office365/#comment-1645 for more details


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...