6

I have a piece of HTML which I want to send as an e-mail. In previous versions Outlook.com had an option to "edit HTML" but I am not finding anything similar in the latest version. How can I do that now?

2 Answers 2

4

The easiest way to add HTML to an email for a browser-based email client is to copy and paste it. But the catch is, you can't copy and paste the actual HTML markup -- you have to capture the results of the HTML.

This article has a good detailed breakdown of how to copy and paste HTML code into an email. (Note that for step #1, you don't need an actual HTML editor; you can use any text editor, like Notepad.)

EDIT: This method works with mixed results in the Outlook.com email editor. For example, copying and pasting the Stack Overflow toolbar renders outside the body of the email:

enter image description here

but other HTML snippets will render inside the body, like this Stack Overflow content:

enter image description here

However, both examples were able to be sent, and the HTML rendered correctly in the received email (and was functional -- links could be opened).

4
  • Have you tested it with Outlook.com web? This doesn't work for me.
    – notGeek
    Commented Dec 23, 2016 at 15:30
  • 1
    I've tested it in Yahoo! and Gmail, haven't tested it in Outlook.com yet but I can in about an hour.
    – freginold
    Commented Dec 23, 2016 at 15:38
  • 2
    @notGeek I just tested it in Outlook.com and it works with mixed results -- some HTML renders outside the body of the email, but much of it renders inside the body, so you can send it. I've updated my answer to include a screen shot.
    – freginold
    Commented Dec 23, 2016 at 16:39
  • 1
    you're right, it works. my bad. thanks for your help!
    – notGeek
    Commented Dec 24, 2016 at 13:32
0

If you know HTML - you can write the raw HTML in an online code editor such as codepen or jsfiddle.

Insert Horizontal Line Rule for Outlook.com

<p>dog</p>
<hr/>
<p>cat</p>

Copying the rendered output - you can then paste the rich content into the editor and it will render properly in OWA.

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.