Email Double Line Spacing Error

tictas 1p 21 Reputation points
2021-06-10T01:56:17.207+00:00

Dear Support,

When user is receiving email from Gmail through Outlook, email came back with double line spacing in Outlook.
Is there any solution to read the email that sent from Gmail is in normal spacing in Outlook?
Attached error screenshot for your reference.

Regards

Matthew[104051-error-screenshot.pdf][1]

Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,128 questions
Outlook Management
Outlook Management
Outlook: A family of Microsoft email and calendar products.Management: The act or process of organizing, handling, directing or controlling something.
4,887 questions
0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. Mar_50 11 Reputation points
    2022-10-23T15:08:31.43+00:00

    @tictas 1p

    I know this is an old thread. Maybe the below solution could still be of some help, otherwise others could use it.
    This double line spacing occurs when sending emails back and forth between Outlook and Gmail, when using the [Enter] key for a new line, instead of [Shift-Enter] required by Gmail.
    Have spent quite some time on trying to solve this. There probably is some old authotkey script but likely that works systemwide. Also within Powertoys one can remap the [Enter]-key to [Shift-Enter], but that is also systemwide, i.e. hitting enter in another application may result in unwanted action as it will do a shift-enter.

    The only decent solution is to use macro and a button in the Quick Access Toolbar. I have been using it for quite a while and it works fine, no further tools required.

    add a macro to Outlook replacing hard returns with soft ones on selected text and secondly add a button to the Quick Access Toolbar.

    Macro

    **

    Sub ReplaceHardReturns()  
    '  
    '  
    Dim wdSelection As Word.Selection  
    Dim wdDoc As Word.Document  
        Set wdDoc = Application.ActiveInspector.WordEditor  
        Set wdSelection = wdDoc.Windows(1).Selection  
        wdSelection.Find.ClearFormatting  
        wdSelection.Find.Replacement.ClearFormatting  
        With wdSelection.Find  
            .Text = "^p"  
            .Replacement.Text = "^l"  
            .Forward = True  
            .Wrap = wdFindStop  
            .Format = False  
            .MatchCase = False  
            .MatchWholeWord = False  
            .MatchWildcards = False  
            .MatchSoundsLike = False  
            .MatchAllWordForms = False  
        End With  
        wdSelection.Find.Execute Replace:=wdReplaceAll  
    End Sub  
    

    **

    Add a button to the QAT. Check out "Create a button on the Quick Access Toolbar" on Howto-Outlook.com

    https://www.howto-outlook.com/howto/macrobutton.htm#:~:text=The%20keyboard%20shortcut%20to%20bring,Developer%20tab%20isn't%20enabled.

    253321-snagit-23102022-170232.png

    2 people found this answer helpful.
    0 comments No comments

  2. Jade Liang-MSFT 9,956 Reputation points Microsoft Employee
    2021-06-10T07:14:50.793+00:00

    Hi @tictas 1p ,

    Please understand our forum is an open platform, in order to protect your personal information, I have deleted your attachment in your post. If you still need post that, it's recommended to post a related screenshoot and hide the personal information via edit your question.

    For your issue, what's the specific version of your Outlook desktop client(File>Office account>About Outlook)?

    According to my tests on Outlook 365 version 2105(Build 14026.20246), the messages from gmail account through Outlook client could display normally in Outlook. So in order to further confirm your issue and perform more targeted tests on my environment, please provide us with more information about your issues(such as client version and others)

    Also, I have researched a lot and found a related article that mentioned similar issues on earlier version of Outlook, if it's your case, please kindly check if those workarounds could be helfpul to you(such as working with "Shift+Enter" instead of "Enter" etc.) (Please Note: Since the web site is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.)

    If your issue has any update, please feel free to post back.


    If the response is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    1 person found this answer helpful.

  3. Edgar Korzeniowski 0 Reputation points
    2024-01-22T15:07:02.8866667+00:00

    Mar_50's answer is excellent! It fixes a long standing issue in Outlook which Microsoft refuses to address (such as a preference setting option). There is a missing step that a user might not be aware of. Please make sure to add "Microsoft Word 16.0 Object Library" found under Tools->References in the Microsoft Visual Basic for Applications editor, otherwise you will get a "compile error" when trying to run the macro.

    0 comments No comments