What is the format of compose links to web mail clients such as Gmail, Yahoo Mail, Hotmail and AOL?

后端 未结 4 570
无人共我
无人共我 2020-12-13 21:29

In my application, I\'m currently using mailto: links to open email compose dialogs. This is terrible for web mail users, since it typically causes Outlook or Apple Mail to

4条回答
  •  青春惊慌失措
    2020-12-13 22:11

    Try these updated ones

    For outlook

    https://outlook.live.com/mail/0/deeplink/compose?to=your@email.com
    

    For AOL

    https://mail.aol.com/webmail-std/en-us/composemessage?to=your@email.com
    

    But I should warn you that, prefilled body if at all contains line feed(new line) character encoded in URL, that line feed won't take effect at present.

提交回复
热议问题