Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
421 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&[email protected]">[email protected]</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">[email protected]</a>
See Question&Answers more detail:os

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

1 Answer

0 votes
by (71.8m points)

Office 365 now supports composing an email using a URL:

https://outlook.office.com/?path=/mail/action/compose&[email protected]&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 [email protected]
  • 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


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...