none
Outlook adding new classes when forwarding email RRS feed

  • Question

  • Hi,

    I am trying to forward an HTML email from Outlook 2007 to gmail. While forwarding the email, the outllook is adding some new classes and elements. Because of this the email I received in gmail has some white spaces in the template. The actual HTML content (part of) is as below

    <td colspan="3">
    <img height="147" border="0" align="bottom" width="640" src="http://mydomain.com/header.png" style="vertical-align: bottom;">
    </td>

    Where as when i forward the email from outlook to gmail the html is rendered as

    <td style="padding: 0in;" colspan="3">
    <p class="MsoNormal"><img height="147" border="0" width="640" src="http://mydomain.com/header.png"><u></u><u></u></p>
    </td>

    Because of these additional classes and elements the email is getting distorted. Is there any way to fix this?

    Thanks

    Friday, February 3, 2012 5:30 AM

Answers

  • Outlook and Word, especially the Word used in WordMail, add their own tags and HTML to whatever you create. That's so even if you specify the actual HTML and try to send it that way. On sending they will alter what you created. Not much you can do about it.

    --
    Ken Slovak
    MVP - Outlook
    http://www.slovaktech.com
    Author: Professional Programming Outlook 2007
     
     
    "Courageous_Heart" <=?utf-8?B?Q291cmFnZW91c19IZWFydA==?=> wrote in message news:eea77f66-3603-4787-a515-affa66e23cc4...

    Hi,

    I am trying to forward an HTML email from Outlook 2007 to gmail. While forwarding the email, the outllook is adding some new classes and elements. Because of this the email I received in gmail has some white spaces in the template. The actual HTML content (part of) is as below

    <td colspan="3">
    <img height="147" border="0" align="bottom" width="640" src="http://mydomain.com/header.png" style="vertical-align: bottom;">
    </td>

    Where as when i forward the email from outlook to gmail the html is rendered as

    <td style="padding: 0in;" colspan="3">
    <p class="MsoNormal"><img height="147" border="0" width="640" src="http://mydomain.com/header.png"><u></u><u></u></p>
    </td>

    Because of these additional classes and elements the email is getting distorted. Is there any way to fix this?

    Thanks


    Ken Slovak MVP - Outlook
    Monday, February 6, 2012 7:53 PM
    Moderator

All replies

  • Maybe copy original HtmlBody when forwarding item?
    Friday, February 3, 2012 9:55 AM
  • Outlook and Word, especially the Word used in WordMail, add their own tags and HTML to whatever you create. That's so even if you specify the actual HTML and try to send it that way. On sending they will alter what you created. Not much you can do about it.

    --
    Ken Slovak
    MVP - Outlook
    http://www.slovaktech.com
    Author: Professional Programming Outlook 2007
     
     
    "Courageous_Heart" <=?utf-8?B?Q291cmFnZW91c19IZWFydA==?=> wrote in message news:eea77f66-3603-4787-a515-affa66e23cc4...

    Hi,

    I am trying to forward an HTML email from Outlook 2007 to gmail. While forwarding the email, the outllook is adding some new classes and elements. Because of this the email I received in gmail has some white spaces in the template. The actual HTML content (part of) is as below

    <td colspan="3">
    <img height="147" border="0" align="bottom" width="640" src="http://mydomain.com/header.png" style="vertical-align: bottom;">
    </td>

    Where as when i forward the email from outlook to gmail the html is rendered as

    <td style="padding: 0in;" colspan="3">
    <p class="MsoNormal"><img height="147" border="0" width="640" src="http://mydomain.com/header.png"><u></u><u></u></p>
    </td>

    Because of these additional classes and elements the email is getting distorted. Is there any way to fix this?

    Thanks


    Ken Slovak MVP - Outlook
    Monday, February 6, 2012 7:53 PM
    Moderator