Link to home
Start Free TrialLog in
Avatar of bedsingar
bedsingarFlag for United Kingdom of Great Britain and Northern Ireland

asked on

HTMl Formatted email from Sharepoint 2007 Workflow

Hello,

I've been trying to format an email that is automatically sent from our sharepoint site workflow, but this is proving problematic as outlook is placing large spaces over the email seemingly needlessly and it really isn't looking at all like it should.

Can anybody suggest what changes I need to make to the code to make this work with outlook?

Attached is a screenshot of the output in outlook and also a shot of what it should look like.

Thanks

Josh

<DIV>
<TABLE border=0 cellSpacing=0 cellPadding=4 width="100%">
<TBODY>
<TR vAlign=top>
<TD width="100%">
<TABLE border=0 cellSpacing=0 cellPadding=0 width="100%">
<TBODY>
<TR>
<TD id=MSOZoneCell_WebPartWPQ1 vAlign=top>
<TABLE border=0 cellSpacing=0 cellPadding=0 width="100%" TOPLEVEL>
<TBODY>
<TR>
<TD vAlign=top>
<DIV id=WebPartWPQ1 class=ms-WPBody allowMinimize="false" allowRemove="false" WebPartID="b4949169-34c1-4956-bb5a-022d091a712e" HasPers="false" width="100%" allowDelete="false">
<DIV><FONT size=3>Dear xxx, </FONT></DIV>
<DIV>&nbsp;</DIV>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: Arial; COLOR: blue; FONT-SIZE: 14pt"><STRONG>Thank you</STRONG></SPAN><SPAN style="FONT-FAMILY: Arial"><FONT size=3><STRONG> </STRONG>for logging your exception using the Exception Management process.<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></FONT></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: Arial"><o:p><FONT size=3>&nbsp;</FONT></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: Arial"><o:p><FONT size=3>Your Exception ID is: &nbsp;</FONT></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: Arial"><o:p><FONT size=3></FONT></o:p></SPAN>&nbsp;</P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: Arial"><FONT size=3>The next step in the process is for you to complete the</FONT></SPAN><SPAN style="FONT-FAMILY: Arial; FONT-SIZE: 14pt"> <SPAN style="COLOR: blue">Root Cause &amp; Action Plan template</SPAN></SPAN><FONT size=3><SPAN style="FONT-FAMILY: Arial; COLOR: blue">,</SPAN><SPAN style="FONT-FAMILY: Arial"> this is saved on our SharePoint site and can be found at:&nbsp;<A href="http://mynationwideteam/sites/fin_comms_tech_serv/Workstream%20%20EM/RCA.doc"><FONT color=#3366ff><U>HERE</U></FONT></A></SPAN></FONT><SPAN style="FONT-FAMILY: Arial"><o:p><FONT color=#3366ff size=3>&nbsp;</FONT></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: Arial"><FONT size=3>Once the template has been completed please can you e-mail it to your key contact from the list below.</FONT>&nbsp;<FONT size=3>Alternatively please feel free to book a meeting with them to work through the template together.</FONT></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: Arial"><FONT size=3></FONT></SPAN>&nbsp;</P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal align=center><SPAN style="FONT-FAMILY: Arial"><FONT size=3><U>Key Contacts</U></FONT></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: Arial"><FONT size=3></FONT></SPAN>&nbsp;</P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: Arial"><FONT size=3>
<TABLE style="BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; BORDER-COLLAPSE: collapse; BORDER-TOP: medium none; BORDER-RIGHT: medium none; mso-border-alt: solid windowtext .5pt; mso-yfti-tbllook: 480; mso-padding-alt: 0cm 5.4pt 0cm 5.4pt; mso-border-insideh: .5pt solid windowtext; mso-border-insidev: .5pt solid windowtext" class=MsoTableGrid border=1 cellSpacing=0 cellPadding=0>
<TBODY>
<TR style="mso-yfti-irow: 0; mso-yfti-firstrow: yes">
<TD style="BORDER-BOTTOM: windowtext 1pt solid; BORDER-LEFT: windowtext 1pt solid; PADDING-BOTTOM: 0cm; BACKGROUND-COLOR: transparent; PADDING-LEFT: 5.4pt; WIDTH: 213.05pt; PADDING-RIGHT: 5.4pt; BORDER-TOP: windowtext 1pt solid; BORDER-RIGHT: windowtext 1pt solid; PADDING-TOP: 0cm; mso-border-alt: solid windowtext .5pt" vAlign=top width=284>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><FONT size=3><FONT face="Times New Roman">Transformation<o:p></o:p></FONT></FONT></P></TD>
<TD style="BORDER-BOTTOM: windowtext 1pt solid; BORDER-LEFT: #d4d0c8; PADDING-BOTTOM: 0cm; BACKGROUND-COLOR: transparent; PADDING-LEFT: 5.4pt; WIDTH: 213.05pt; PADDING-RIGHT: 5.4pt; BORDER-TOP: windowtext 1pt solid; BORDER-RIGHT: windowtext 1pt solid; PADDING-TOP: 0cm; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt" vAlign=top width=284>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><FONT size=3><FONT face="Times New Roman"><?xml:namespace prefix = st1 ns = "urn:schemas-microsoft-com:office:smarttags" /><st1:PersonName w:st="on">Emma Jennings</st1:PersonName><o:p></o:p></FONT></FONT></P></TD></TR>
<TR style="mso-yfti-irow: 1">
<TD style="BORDER-BOTTOM: windowtext 1pt solid; BORDER-LEFT: windowtext 1pt solid; PADDING-BOTTOM: 0cm; BACKGROUND-COLOR: transparent; PADDING-LEFT: 5.4pt; WIDTH: 213.05pt; PADDING-RIGHT: 5.4pt; BORDER-TOP: #d4d0c8; BORDER-RIGHT: windowtext 1pt solid; PADDING-TOP: 0cm; mso-border-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt" vAlign=top width=284>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><FONT size=3><FONT face="Times New Roman">Group Distribution<o:p></o:p></FONT></FONT></P></TD>
<TD style="BORDER-BOTTOM: windowtext 1pt solid; BORDER-LEFT: #d4d0c8; PADDING-BOTTOM: 0cm; BACKGROUND-COLOR: transparent; PADDING-LEFT: 5.4pt; WIDTH: 213.05pt; PADDING-RIGHT: 5.4pt; BORDER-TOP: #d4d0c8; BORDER-RIGHT: windowtext 1pt solid; PADDING-TOP: 0cm; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt" vAlign=top width=284>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><FONT size=3><FONT face="Times New Roman"><st1:PersonName w:st="on">Matthew Wade</st1:PersonName><o:p></o:p></FONT></FONT></P></TD></TR>
<TR style="mso-yfti-irow: 2">
<TD style="BORDER-BOTTOM: windowtext 1pt solid; BORDER-LEFT: windowtext 1pt solid; PADDING-BOTTOM: 0cm; BACKGROUND-COLOR: transparent; PADDING-LEFT: 5.4pt; WIDTH: 213.05pt; PADDING-RIGHT: 5.4pt; BORDER-TOP: #d4d0c8; BORDER-RIGHT: windowtext 1pt solid; PADDING-TOP: 0cm; mso-border-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt" vAlign=top width=284>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><FONT size=3><FONT face="Times New Roman">Operational Cost<o:p></o:p></FONT></FONT></P></TD>
<TD style="BORDER-BOTTOM: windowtext 1pt solid; BORDER-LEFT: #d4d0c8; PADDING-BOTTOM: 0cm; BACKGROUND-COLOR: transparent; PADDING-LEFT: 5.4pt; WIDTH: 213.05pt; PADDING-RIGHT: 5.4pt; BORDER-TOP: #d4d0c8; BORDER-RIGHT: windowtext 1pt solid; PADDING-TOP: 0cm; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt" vAlign=top width=284>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><FONT size=3><FONT face="Times New Roman"><st1:PersonName w:st="on">Christopher Lau</st1:PersonName><o:p></o:p></FONT></FONT></P></TD></TR>
<TR style="mso-yfti-irow: 3">
<TD style="BORDER-BOTTOM: windowtext 1pt solid; BORDER-LEFT: windowtext 1pt solid; PADDING-BOTTOM: 0cm; BACKGROUND-COLOR: transparent; PADDING-LEFT: 5.4pt; WIDTH: 213.05pt; PADDING-RIGHT: 5.4pt; BORDER-TOP: #d4d0c8; BORDER-RIGHT: windowtext 1pt solid; PADDING-TOP: 0cm; mso-border-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt" vAlign=top width=284>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><FONT size=3><FONT face="Times New Roman">Projects<o:p></o:p></FONT></FONT></P></TD>
<TD style="BORDER-BOTTOM: windowtext 1pt solid; BORDER-LEFT: #d4d0c8; PADDING-BOTTOM: 0cm; BACKGROUND-COLOR: transparent; PADDING-LEFT: 5.4pt; WIDTH: 213.05pt; PADDING-RIGHT: 5.4pt; BORDER-TOP: #d4d0c8; BORDER-RIGHT: windowtext 1pt solid; PADDING-TOP: 0cm; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt" vAlign=top width=284>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><FONT size=3><FONT face="Times New Roman"><st1:PersonName w:st="on">Hayley Gladstone</st1:PersonName><o:p></o:p></FONT></FONT></P></TD></TR>
<TR style="mso-yfti-irow: 4">
<TD style="BORDER-BOTTOM: windowtext 1pt solid; BORDER-LEFT: windowtext 1pt solid; PADDING-BOTTOM: 0cm; BACKGROUND-COLOR: transparent; PADDING-LEFT: 5.4pt; WIDTH: 213.05pt; PADDING-RIGHT: 5.4pt; BORDER-TOP: #d4d0c8; BORDER-RIGHT: windowtext 1pt solid; PADDING-TOP: 0cm; mso-border-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt" vAlign=top width=284>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><FONT size=3><FONT face="Times New Roman">Products<o:p></o:p></FONT></FONT></P></TD>
<TD style="BORDER-BOTTOM: windowtext 1pt solid; BORDER-LEFT: #d4d0c8; PADDING-BOTTOM: 0cm; BACKGROUND-COLOR: transparent; PADDING-LEFT: 5.4pt; WIDTH: 213.05pt; PADDING-RIGHT: 5.4pt; BORDER-TOP: #d4d0c8; BORDER-RIGHT: windowtext 1pt solid; PADDING-TOP: 0cm; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt" vAlign=top width=284>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><FONT size=3><FONT face="Times New Roman"><st1:PersonName w:st="on">Victor Turner</st1:PersonName><o:p></o:p></FONT></FONT></P></TD></TR>
<TR style="mso-yfti-irow: 5">
<TD style="BORDER-BOTTOM: windowtext 1pt solid; BORDER-LEFT: windowtext 1pt solid; PADDING-BOTTOM: 0cm; BACKGROUND-COLOR: transparent; PADDING-LEFT: 5.4pt; WIDTH: 213.05pt; PADDING-RIGHT: 5.4pt; BORDER-TOP: #d4d0c8; BORDER-RIGHT: windowtext 1pt solid; PADDING-TOP: 0cm; mso-border-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt" vAlign=top width=284>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><FONT size=3><FONT face="Times New Roman">Operational Risk<o:p></o:p></FONT></FONT></P></TD>
<TD style="BORDER-BOTTOM: windowtext 1pt solid; BORDER-LEFT: #d4d0c8; PADDING-BOTTOM: 0cm; BACKGROUND-COLOR: transparent; PADDING-LEFT: 5.4pt; WIDTH: 213.05pt; PADDING-RIGHT: 5.4pt; BORDER-TOP: #d4d0c8; BORDER-RIGHT: windowtext 1pt solid; PADDING-TOP: 0cm; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt" vAlign=top width=284>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><FONT size=3><FONT face="Times New Roman">Alison Wallace<o:p></o:p></FONT></FONT></P></TD></TR>
<TR style="mso-yfti-irow: 6; mso-yfti-lastrow: yes">
<TD style="BORDER-BOTTOM: windowtext 1pt solid; BORDER-LEFT: windowtext 1pt solid; PADDING-BOTTOM: 0cm; BACKGROUND-COLOR: transparent; PADDING-LEFT: 5.4pt; WIDTH: 213.05pt; PADDING-RIGHT: 5.4pt; BORDER-TOP: #d4d0c8; BORDER-RIGHT: windowtext 1pt solid; PADDING-TOP: 0cm; mso-border-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt" vAlign=top width=284>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><FONT size=3><FONT face="Times New Roman">Exceptions Management lead<o:p></o:p></FONT></FONT></P></TD>
<TD style="BORDER-BOTTOM: windowtext 1pt solid; BORDER-LEFT: #d4d0c8; PADDING-BOTTOM: 0cm; BACKGROUND-COLOR: transparent; PADDING-LEFT: 5.4pt; WIDTH: 213.05pt; PADDING-RIGHT: 5.4pt; BORDER-TOP: #d4d0c8; BORDER-RIGHT: windowtext 1pt solid; PADDING-TOP: 0cm; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt" vAlign=top width=284>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><st1:PersonName w:st="on"><FONT size=3 face="Times New Roman">Jennifer Stanford</FONT></st1:PersonName><o:p></o:p></P></TD></TR></TBODY></TABLE><o:p></o:p></FONT></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal>&nbsp;</P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: Arial"><o:p><FONT size=3>&nbsp;</FONT></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: Arial"><FONT size=3>If you have any questions please feel to ask in person or e-mail the shared mailbox <st1:PersonName w:st="on"><SPAN style="COLOR: red"><A href="mailto:FBS%20Exceptions%20Management"><U><FONT color=#0000ff>FBS Exceptions Management</FONT></U></A></SPAN></st1:PersonName></FONT></SPAN><SPAN style="FONT-FAMILY: Arial; COLOR: red"><o:p><FONT size=3>&nbsp;</FONT></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: Arial; COLOR: red"><o:p><FONT size=3></FONT></o:p></SPAN>&nbsp;</P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: Arial; COLOR: red"><o:p><FONT size=3></FONT></o:p></SPAN>&nbsp;</P>
<P style="MARGIN: 0cm 0cm 0pt; mso-outline-level: 1" class=MsoNormal><SPAN style="FONT-FAMILY: Arial"><FONT size=3>Kind regards<o:p></o:p></FONT></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: Arial; COLOR: red"><o:p><FONT size=3>&nbsp;</FONT></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt; mso-outline-level: 1" class=MsoNormal><SPAN style="FONT-FAMILY: Arial"><FONT size=3>Exceptions Management Workstream<o:p></o:p></FONT></SPAN></P></DIV></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></DIV>

Open in new window

sharepoint-email-formatting.jpg
Email-format-should-be.jpg
Avatar of Scott Fell
Scott Fell
Flag of United States of America image

It looks like you used word to create your html and that has created a lot of $&@t you don't need and shouldn't use.

You will need to pretty this up a little but your html should look more like below.  If you need help with editing html.  There are plenty of free tools like http://www.w3.org/Amaya/

<table width="600" border="0" cellspacing="0" cellpadding="3">
  <tr>
    <td>Dear X</td>
  </tr>
  <tr>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>
    <p>Thank you for logging your exception using the Exception Management process.</p>
<p>Your Exception ID is:  </p>
<p>The next step in the process is for you to complete the Root Cause & Action Plan template, this is saved on our SharePoint site and can be found at: HERE </p>
<p>Once the template has been completed please can you e-mail it to your key contact from the list below. Alternatively please feel free to book a meeting with them to work through the template together.</p></td>
  </tr>
  <tr>
    <td align="center" valign="middle">Key Contacts</td>
  </tr>
  <tr>
    <td><table width="600" border="0" cellspacing="0" cellpadding="3">
      <tr>
        <td width="171">Item</td>
        <td width="411">Item</td>
      </tr>
      <tr>
        <td>Item</td>
        <td>Item</td>
      </tr>
      <tr>
        <td>Item</td>
        <td>Item</td>
      </tr>
      <tr>
        <td>Item</td>
        <td>Item</td>
      </tr>
      <tr>
        <td>Item</td>
        <td>Item</td>
      </tr>
      <tr>
        <td>Item</td>
        <td>Item</td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td><p>If you have any questions please feel to ask in person or e-mail the shared mailbox FBS Exceptions Management </p>
<p>Kind regards</p>
<p>Exceptions Management Workstream</p></td>
  </tr>
</table>

Open in new window

Avatar of bedsingar

ASKER

Hey,

Yes I used A sharepoint WebPart to put the code together (Thinking that it would be compatible that way!)

I've updated the code based on what you have above - but this hasn't solved the problem. - Updated screenshot attached.

Thanks

Josh

<table width="600" border="0" cellspacing="0" cellpadding="3">
  <tr>
    <td>Dear X</td>
  </tr>
  <tr>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>
    <p>Thank you for logging your exception using the Exception Management process.</p>
<p>Your Exception ID is:  </p>
<p>The next step in the process is for you to complete the Root Cause & Action Plan template, this is saved on our SharePoint site and can be found at: <A href="http://mynationwideteam/sites/fin_comms_tech_serv/Workstream%20%20EM/RCA.doc"><FONT color=#3366ff><U>HERE</U></FONT></A> </p>
<p>Once the template has been completed please can you e-mail it to your key contact from the list below. Alternatively please feel free to book a meeting with them to work through the template together.</p></td>
  </tr>
  <tr>
    <td align="center" valign="middle"><strong><ul>
Key Contacts</ul></strong></td>
  </tr>
  <tr>
    <td><table width="600" border="0" cellspacing="0" cellpadding="3">
      <tr>
        <td width="200">Transformation</td>
        <td width="400" align="center" >Emma Jennings</td>
      </tr>
      <tr>
        <td>Group Distribution</td>
        <td align="center" >Matthew Wade</td>
      </tr>
      <tr>
        <td>Operational Cost</td>
        <td align="center" >Christopher Lau</td>
      </tr>
      <tr>
        <td>Projects</td>
        <td align="center" >Hayley Gladstone</td>
      </tr>
      <tr>
        <td>Products</td>
        <td align="center" >Victor Turner</td>
      </tr>
      <tr>
        <td>Operational Risk</td>
        <td align="center" >Alison Wallace</td>
      </tr>
     <tr>
        <td>Exceptions Management lead</td>
        <td align="center" >Jennifer Stanford</td>
      </tr>

    </table></td>
  </tr>
  <tr>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td><p>If you have any questions please feel to ask in person or e-mail the shared mailbox FBS Exceptions Management </p>
<p>Kind regards</p>
<p>Exceptions Management Workstream</p></td>
  </tr>
</table> 

Open in new window

After-updating-HTML.jpg
did you you upload only the code or was there anything else?  Is this a screen shot of the actual email or some preview?
The only change is the lookups that are standard to SP workflow i.e replaces the "dear X" with dear USERNAME".

The screenshot is of the actual email ( Captured using snagit)

Just found this though which I think may yeild a clue!

http://office.microsoft.com/en-us/sharepoint-designer-help/send-e-mail-in-a-workflow-HA010239042.aspx#BM7
Please view the source in outlook and paste the code.  Something is being added if that is the way it looks.  The raw html I posted looks like this. http://jsfiddle.net/gxCG7/
<table width="600" border="0" cellspacing="0" cellpadding="3"><br>
  <tr><br>
    <td>Dear ADMIN\p68863</td><br>
  </tr><br>
  <tr><br>
    <td>&nbsp;</td><br>
  </tr><br>
  <tr><br>
    <td><br>
    <p>Thank you for logging your exception
using the Exception Management process.</p><br>
<p>Your Exception ID is:
91 </p><br>
<p>The next step in the process is for you to complete the Root
Cause & Action Plan template, this is saved on our SharePoint site and can
be found at: <A href="http://mynationwideteam/sites/fin_comms_tech_serv/Workstream%20%20EM/RCA.doc"><FONT
color=#3366ff><U>HERE</U></FONT></A> </p><br>
<p>Once the template has been
completed please can you e-mail it to your key contact from the list below.
Alternatively please feel free to book a meeting with them to work through
the template together.</p></td><br>
  </tr><br>
  <tr><br>
    <td align="center"
valign="middle"><strong><ul><br>
Key Contacts</ul></strong></td><br>
  </tr><br>
  <tr><br>
    <td><table width="600" border="0" cellspacing="0" cellpadding="3"><br>
      <tr><br>
        <td width="200">Transformation</td><br>
        <td
width="400" align="center" >Emma Jennings</td><br>
      </tr><br>
     
<tr><br>
        <td>Group Distribution</td><br>
        <td align="center"
>Matthew Wade</td><br>
      </tr><br>
      <tr><br>
        <td>Operational
Cost</td><br>
        <td align="center" >Christopher Lau</td><br>
     
</tr><br>
      <tr><br>
        <td>Projects</td><br>
        <td align="center"
>Hayley Gladstone</td><br>
      </tr><br>
      <tr><br>
        <td>Products</td><br>
        <td align="center" >Victor Turner</td><br>
      </tr><br>
     
<tr><br>
        <td>Operational Risk</td><br>
        <td align="center"
>Alison Wallace</td><br>
      </tr><br>
     <tr><br>
        <td>Exceptions
Management lead</td><br>
        <td align="center" >Jennifer Stanford</td><br>
      </tr><br>
<br>
    </table></td><br>
  </tr><br>
  <tr><br>
    <td>&nbsp;</td><br>
  </tr><br>
  <tr><br>
    <td><p>If you have any questions please feel to
ask in person or e-mail the shared mailbox FBS Exceptions Management </p><br>
<p>Kind regards</p><br>
<p>Exceptions Management Workstream</p></td><br>
  </tr><br>
</table> 

Open in new window

Can you see the problem?  http://jsfiddle.net/2NN39/  The code in your source is not the same as what was hopefully input.    Either your program is inserting extra code or you did not use the code exactly as I gave it to you. There are a lot of extra "<br>" tags.
Yes I can see the extra BR's ... although I'm not adding them in.

I've attached some more screenshots - it's the table tags that are causing it to start with.  There is a screenshot of the email using an image instead of a table, this doesn't have the issue (Although prompts for username & password to download the image! - so again not suitable)

I've also discovered that you have to widen the input box on sharepoint's workflow tool inorder to stop it formating your text to the width of the input box!

Definately a miscrosoft bug I'm thinking!
Define-Email-Msg.jpg
Widened-Box.jpg
With-Image-and-widened-box.jpg
ASKER CERTIFIED SOLUTION
Avatar of Scott Fell
Scott Fell
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks - did the trick nicely once all spaces were removed from between tags.