Spacing in outbound emails
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-28-2015 02:51 AM
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>
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-28-2015 03:27 AM
Hi David....I think this is know issue for ServiceNow. They have a knowledge article for it.
You should raise a ticket on 'Hi' , they will guide you properly.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-28-2015 03:30 AM
Hi Sachin,
Thanks for the info. Do you have a link to the knowledge article or a name
for it?
On 28 January 2015 at 11:27, Sachin Shinde <

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-28-2015 05:02 AM
Steve,
is the outbound email malformed when sent?
Also try running your code through here Dirty Markup · Tidy up your HTML, CSS, and JavaScript code makes everything a lot easier to read
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-28-2015 05:14 AM
Hey,
Yes, when I preview HTML body the email previews in the same way as I
receive it in outlook, with all the additional spacing.
Will try the link now.
On 28 January 2015 at 13:02, Pete Beesley <community-no-reply@servicenow.com