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

we are on Eureka Patch 4 Hot Fix 1


Steve, we're only on Patch 5. The only patch which could be affecting you is this I think



I'm going to run your html through our instance and see how it comes out


That could be causing our issue.



It will be interesting to see what happens in your instance. I have to say the explanation in the previous problem record matched our issue exactly.



Thanks for the help. Most appreciated.


Steve,



Right I ran this through our system and it previews like this



Fixnetix Ltd - Change Starting

Dear Fixnetix Customer,


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.


Change No.:number
Environment:

Environment: u_environment
Parent Ticket:u_related_request u_related_problem u_related_incidentChange Window Start:u_change_window_start
Change Window End:u_change_window_end
Short Description:short_description
Change Description:

Description: description


If you require further information please contact us as follows, quoting the change number above



Email: toc@fixnetix.com
Phone: +44 (0)208 003 8999







Footer Image

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.



I did need to change the html code a little. Please see attached which includes the message delivered to outlook. Also if you use the html please remember to re-code your fields. I took out the ${ and } to generate text that wasn't there


Which is what it needs to look like. I am getting a 6 line break between the logo and dear customer and then a 12 line gap between "on completion of change" and Change no.



So its a problem with our instance then and not the script.