• When sending an email from Outlook to a Mailing Group, or even replying to one, and a member of the group views that email/response in Outlook, the email is starting out with a ton of definitions starting with:
    /* Font Definitions */
    and ending with: mso-bidi-font-family:”Times New Roman”;}
    before showing the actual email content.

    If the email is viewed in Gmail it appears fine without those definitions.
    It appears the definitions are after a <br/> tag. I’m not much for coding, but it’s my understanding that may be an xhtml code which is not understood in Outlook, causing the definitions after it to display as message content. (Using Outlook 2016 and Outlook 365).

    Is this something easily fixed? It appears to be a great program, but useless if it messages sent from Outlook to the group appear so horribly.

    • This topic was modified 3 years, 3 months ago by jrinnc.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Yamna Masood

    (@marcusbs)

    Thread Starter jrinnc

    (@jrinnc)

    Thank you for the link, but I had previously seen that. It refers to Outlook 2013, but the issue has continued in every version since then (we use 2016 and 365) which appears to be because Microsoft doesn’t support the <br/> tag (of xhtml) any longer.

    We’ve found the solution seems to be to remove line 247 of wpmg_cron_send_email.php in the Crons directory of your plugin. That line is this:
    $body = preg_replace(“/\r\n|\r|\n/”,'<br/>’,$body);

    Once we commented out that line, it seems to have completely fixed the issue with no other affect or problems encountered.

    Could you advise the reason for using that line and/or if it might be removed from the plugin to help others and so we don’t have the problem re-occur following future updates?

    Plugin Author Yamna Masood

    (@marcusbs)

    This line was added in an earlier version, to secure line breaks in HTML emails. We’ll test HTML emails on our end and if they go through correctly, we’ll remove this line.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Emails from Outlook to group list display definitions’ is closed to new replies.