Spacing in outbound emails

scottjus82
Kilo Guru

Morning all.

I am trying to configure an outbound client facing emails. I have been given the HTML script which is table based so all the fields are in line. When applied I get a load of spacing between sections that I cant work out. When I view the source code of the inbound email there DIV tags added where the spaces are. If this is the cause of the issue how do I remove them as they dont exist in my code.( below) Any thoughts?

<table width="700" class="tg" style="width: 500; height: 285px; float: left;" border="0" cellspacing="0" cellpadding="0">

<tr><th class="tg-e3zv" valign="top" style="text-align: center;" colspan="5"><span style="font-family: arial,helvetica,sans-serif;"><img title="" align="top" style="border: 0px solid black; vspace: 0px; hspace: 0px; align: top;" alt="Fixnetix Ltd - Change Starting" src="/Fixnetix_ChangeManagement_Starting_Banner.pngx" border="0" vspace="0" hspace="0" /></span></th></tr>

<td class="tg-031e" colspan="5" vlaign="top">

<p><span style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"><span style="font-size: 10pt;">Dear Fixnetix Customer,<br data-mce-bogus="1" /></span></span></p>

<p><span style="font-family: arial,helvetica,sans-serif; font-size: 10pt;">This email is to notify you that change ${number} is now being implemented and work started at

${work_start}. A further email will be sent on completion of the change.</span><span style="font-family: arial,helvetica,sans-serif; font-size: 10pt;">  </span>

<table>

<tbody>

<tr>

<td rowspan="2"><span style="font-family: arial,helvetica,sans-serif; font-size: 8pt;">  </span></td>

<td><span style="color: #333333; font-size: 8pt;"><strong><span style="font-family: arial,helvetica,sans-serif;">Change No.:</span></strong></span></td>

<td><span style="font-family: arial,helvetica,sans-serif; font-size: 8pt;">

${number}</span></td>

<td><span style="color: #333333; font-size: 8pt;"><strong><span style="font-family: arial,helvetica,sans-serif;">Envoronment:</span></strong></span></td>

<td><span style="font-family: arial,helvetica,sans-serif; font-size: 8pt;">

Environment: ${u_environment}</span></td>

</tr>

<tr>

<td><span style="color: #333333; font-size: 8pt;"><strong><span style="font-family: arial,helvetica,sans-serif;">Parent Ticket:

</span></strong></span></td>

<td><span style="font-family: arial,helvetica,sans-serif; font-size: 8pt;">${u_related_request}   ${u_related_problem}

${u_related_incident}</span></td>

<td><span style="color: #333333; font-size: 8pt;"><strong><span style="font-family: arial,helvetica,sans-serif;">Change Window Start:</span></strong></span></td>

<td><span style="font-family: arial,helvetica,sans-serif; font-size: 8pt;">

${u_change_window_start}</span></td>

</tr>

<tr>

<td></td>

<td></td>

<td><span style="color: #333333; font-size: 8pt;"><strong><span style="font-family: arial,helvetica,sans-serif;">Change Window End:</span></strong></span></td>

<td><span style="font-family: arial,helvetica,sans-serif; font-size: 8pt;">

${u_change_window_end}</span></td>

</tr>

<tr>

<td colspan="4"><span style="color: #ffffff; font-family: arial,helvetica,sans-serif; font-size: 8pt;">_</span></td>

</tr>

<tr>

<td colspan="2"><span style="color: #333333; font-size: 8pt;"><strong><span style="font-family: arial,helvetica,sans-serif;">Short Description:</span></strong></span></td>

<td colspan="2"><span style="font-family: arial,helvetica,sans-serif; font-size: 8pt;">

${short_description}</span></td>

</tr>

<tr>

<td colspan="4"><span style="color: #333333; font-size: 8pt;"><strong><span style="font-family: arial,helvetica,sans-serif;">Change Description:</span></strong></span></td>

</tr>

<tr>

<td colspan="4"><span style="font-family: arial,helvetica,sans-serif; font-size: 8pt;">

Description: ${description}</span></td>

</tr>

</tbody>

</table>

<p><span style="font-family: arial,helvetica,sans-serif; font-size: 10pt;">  </span></p>

<p><span style="font-family: arial,helvetica,sans-serif; font-size: 10pt;">If you require further information please contact us as follows, quoting the change number above  </span><br /><br /><span style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"> Email: toc@fixnetix.com</span><br /><span style="font-family: arial,helvetica,sans-serif; font-size: 10pt;">Phone: +44 (0)208 003 8999</span></p>

<p>  </p>

<p>  </p>

<p></p>

<p></p>

</p>

</p>

</td>

</tr>

<tr>

<td class="tg-031e" colspan="5"><img width="701" height="52" title="" align="left" style="border: 0px solid black; align: left;" alt="Footer Image" src="/Fixnetix_Notification_Email_Footer.pngx" border="0" vspace="0" hspace="-1" /></td>

</tr>

<tr>

<td rowspan="14" colspan="5">

<p><span style="font-family: arial,helvetica,sans-serif; font-size: 8pt;">The contents of this email are confidential and may contain privileged information. This e-mail and any attachments are intended solely for the addressee. If you are not the intended recipient, please erase it, its contents, all attachments and any copies from your computer and network. You may not disclose, forward, copy or take any action in reliance of this e-mail or attachments and you may not open any attachments. If you have received this message in error, please contact us on +44 (0)203 008 8990, in order for us to forward it to the correct person. Thank you.</span></p>

</td>

</tr>

</tbody>

</table>

22 REPLIES 22

Hi Steve,



This is the Problem number: PRB579504



You can find more details on this link.


http://wiki.servicenow.com/index.php?title=Release:Eureka_Fixes



They have fixed this issue in Patch release.



Regards,


Sachin


Hey,



I have logged on Hi. This is exactly the issue we have as the HTML table has <span> tags in it.



Thanks, this has really helped and will stop extra troubleshooting time being wasted.



Thanks


Steve, are you on Dublin then and not eureka?



We are on Eureka and our code is full of <span> tags with no issues at all!


You are welcome..check for patch upgrade for your instance.


We are on Eureka.....will be interested to see what the response is on Hi for this one.



Checking patch's now.