
Run this code from compose view to see the HTML body value printed is different in the Outlook Web App vs. I’ve written some Javascript code to reproduce this issue. Is there a way to prevent these two side effects? These two side effects will cause each line in an email to take more vertical space than before. 2016, Outlook 2013, and Outlook for Mac), unexpected formatting changes are made to the email body.
Change line spacing in outlook for mac 2016 how to#
The paragraph spacing setting for all content in the email is being set to “auto” How to adjust line spacing in emails in Outlook.tags are being inserted after each paragraph in the email Here are a few tips for using Outlook 2016 with setup as an IMAP account: Your account name will be listed in the left-hand column of the window.I think the method .body.getAsync() is causing two side effects: This might have to do with Outlook desktop platforms using Microsoft Word as their text editor. The space between lines is proportional to the font size. From an Outlook desktop platform (Outlook 2016, Outlook 2013, and Outlook for Mac), unexpected formatting changes are made to the email body. Click the disclosure arrow next to Spacing (to open it), click the pop-up menu below Spacing, then choose an option: Lines: The distance between ascenders (parts of letters that extend to the top of the line) and descenders (parts of letters that extend below the line) stays the same.

I add my image to the email’s HTML, and then I replace the email’s body with my updated HTML using the Office.js method .tAsync(), again with a coercion type of HTML.įrom the Outlook Web App, everything works as expected. In the images below, you can compare different types of line spacing. The default spacing in Word is 1.08 lines, which is slightly larger than single spaced. Word allows you to customize the line spacing to be single spaced (one line high), double spaced (two lines high), or any other amount you want.

I use the Office.js method .body.getAsync() with a coercion type of HTML to get the email body in HTML form. Line spacing is the space between each line in a paragraph.

I’m working on an add-in for Microsoft Outlook, and one behavior of my add-in is to insert an image into a message body from compose view.
