Support

Home Forums Event Espresso Premium Custom Confirmation Emails adding extra line breaks

Custom Confirmation Emails adding extra line breaks

Posted: December 19, 2013 at 7:17 am

Viewing 10 reply threads


David

December 19, 2013 at 7:17 am

Hi Support

I’ve created custom html templates to use in the Payment Confirmation Email and Default Registration Confirmation Email.

When these are sent out extra <br/> tags are added to the code.

This is my html code i insert into the editor.

<code>&lt;table style=&quot;font-family: Arial, sans-serif; font-weight: normal; font-size: 14px;&quot; width=&quot;600&quot; border=&quot;0&quot; cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; align=&quot;center&quot;&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td align=&quot;center&quot; valign=&quot;top&quot;&gt;***This is an automated response - Do Not Reply***&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;table id=&quot;bodyTable&quot; style=&quot;font-family: Arial, sans-serif; border: 1px solid #dddddd; color: #252525; font-size: 14px;&quot; width=&quot;600&quot; border=&quot;0&quot; cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; align=&quot;center&quot;&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td id=&quot;bodyCell&quot; align=&quot;center&quot; valign=&quot;top&quot;&gt;
&lt;table border=&quot;0&quot; cellspacing=&quot;0&quot; cellpadding=&quot;0&quot;&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td align=&quot;center&quot; valign=&quot;top&quot;&gt;
&lt;table width=&quot;100%&quot; border=&quot;0&quot; cellspacing=&quot;0&quot; cellpadding=&quot;0&quot;&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td class=&quot;headerContent&quot; valign=&quot;top&quot;&gt;&lt;img id=&quot;headerImage&quot; style=&quot;max-width: 600px;&quot; alt=&quot;Imageframe Booking Confirmation&quot; src=&quot;http://5.44.238.20/~imagefra/wp-content/themes/reverie-child/img/email-header.gif&quot; /&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;table style=&quot;background-color: #daebc1;&quot; width=&quot;100%&quot; border=&quot;0&quot; cellspacing=&quot;0&quot; cellpadding=&quot;30&quot;&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td class=&quot;headerContent&quot; valign=&quot;top&quot;&gt;
&lt;h1 style=&quot;font-weight: normal;&quot;&gt;Booking Confirmation&lt;/h1&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td align=&quot;center&quot; valign=&quot;top&quot;&gt;
&lt;table width=&quot;100%&quot; border=&quot;0&quot; cellspacing=&quot;0&quot; cellpadding=&quot;30&quot;&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td class=&quot;bodyContent&quot; valign=&quot;top&quot;&gt;&lt;strong&gt;Thank you [fname] [lname] for registering for &lt;/strong&gt;
&lt;h3 style=&quot;color: #8c4398; font-weight: normal;&quot;&gt;[event].&lt;/h3&gt;
&lt;strong&gt;This event starts at:&lt;/strong&gt;

[start_time] on

[start_date] and runs until [end_time] on [end_date].
&lt;h4&gt;Location:&lt;/h4&gt;
[location]

Phone: [location_phone]

Google Map: [google_map_link]

We hope that you will find this event both informative and enjoyable. Should you have any questions, please contact [contact]. &lt;strong&gt;If you have not done so already, please submit your payment for the following amount:&lt;/strong&gt;

---------

[cost]

---------

Click here to review your payment information:

[payment_url].

Click here to edit your payment information:

[edit_attendee_link]

Thank You.&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td align=&quot;center&quot; valign=&quot;top&quot;&gt;
&lt;table style=&quot;background-color: #707070; color: #fff;&quot; width=&quot;100%&quot; border=&quot;0&quot; cellspacing=&quot;0&quot; cellpadding=&quot;0&quot;&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td class=&quot;templateColumnContainer&quot; style=&quot;padding-top: 20px;&quot; align=&quot;center&quot; valign=&quot;top&quot;&gt;
&lt;table width=&quot;100%&quot; border=&quot;0&quot; cellspacing=&quot;0&quot; cellpadding=&quot;30&quot;&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td class=&quot;leftColumnContent&quot; valign=&quot;top&quot;&gt;&lt;span style=&quot;color: #fff;&quot;&gt;Telephone:

&lt;/span&gt;&lt;span style=&quot;font-size: 22px;&quot;&gt;0118 909 4731&lt;/span&gt;&lt;span style=&quot;color: #fff;&quot;&gt;Email: &lt;/span&gt;&lt;span style=&quot;color: #fff;&quot;&gt;info@imageframe.co.uk&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;/td&gt;
&lt;td class=&quot;templateColumnContainer&quot; style=&quot;padding-top: 20px; color: #fff;&quot; align=&quot;center&quot; valign=&quot;top&quot;&gt;
&lt;table width=&quot;100%&quot; border=&quot;0&quot; cellspacing=&quot;0&quot; cellpadding=&quot;30&quot;&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td class=&quot;rightColumnContent&quot; style=&quot;text-align: right; color: #fff; font-size: 12px;&quot; valign=&quot;top&quot;&gt;&lt;strong&gt;Imageframe Ltd&lt;/strong&gt;

Soane Point

6-8 Market Place

Reading

Berkshire

RG1 2EG&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;</code>

This the code from the sent email.

<code>&lt;table width=&quot;600&quot; cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; border=&quot;0&quot; align=&quot;center&quot; style=&quot;font-family:Arial, sans-serif;font-weight:normal;font-size:14px;&quot;&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td valign=&quot;top&quot; align=&quot;center&quot;&gt;***This is an automated response - Do Not Reply***&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;br&gt;
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;table width=&quot;600&quot; cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; border=&quot;0&quot; align=&quot;center&quot; style=&quot;font-family:Arial, sans-serif;border:1px solid #dddddd;color:#252525;font-size:14px;&quot; id=&quot;ecxbodyTable&quot;&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td valign=&quot;top&quot; align=&quot;center&quot; id=&quot;ecxbodyCell&quot;&gt;&lt;br&gt;
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;table cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; border=&quot;0&quot;&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td valign=&quot;top&quot; align=&quot;center&quot;&gt;&lt;br&gt;
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;table width=&quot;100%&quot; cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; border=&quot;0&quot;&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td valign=&quot;top&quot; class=&quot;ecxheaderContent&quot;&gt;&lt;img src=&quot;https://dub122.mail.live.com/Handlers/ImageProxy.mvc?bicild=&amp;canary=iMlK9XushywpzH6TF53%2fM3T5h3bXkVkv%2b%2foFli6iDH0%3d0&amp;url=http%3a%2f%2f5.44.238.20%2f%7eimagefra%2fwp-content%2fthemes%2freverie-child%2fimg%2femail-header.gif&quot; alt=&quot;Imageframe Booking Confirmation&quot; style=&quot;max-width:600px;&quot; id=&quot;ecxheaderImage&quot;&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;br&gt;
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;table width=&quot;100%&quot; cellspacing=&quot;0&quot; cellpadding=&quot;30&quot; border=&quot;0&quot; style=&quot;background-color:#daebc1;&quot;&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td valign=&quot;top&quot; class=&quot;ecxheaderContent&quot;&gt;&lt;br&gt;
&lt;h1 style=&quot;font-weight:normal;&quot;&gt;Booking Confirmation&lt;/h1&gt;&lt;br&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;br&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td valign=&quot;top&quot; align=&quot;center&quot;&gt;&lt;br&gt;
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;table width=&quot;100%&quot; cellspacing=&quot;0&quot; cellpadding=&quot;30&quot; border=&quot;0&quot;&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td valign=&quot;top&quot; class=&quot;ecxbodyContent&quot;&gt;&lt;strong&gt;Thank you geoff lewin for registering for &lt;/strong&gt;&lt;p&gt;&lt;/p&gt;&lt;br&gt;
&lt;h3 style=&quot;color:#8c4398;font-weight:normal;&quot;&gt;Powerpoint intermediate.&lt;/h3&gt;&lt;br&gt;
&lt;p&gt;&lt;strong&gt;This event starts at:&lt;/strong&gt;&lt;/p&gt;&lt;br&gt;
&lt;p&gt;3:00 pm on&lt;/p&gt;&lt;br&gt;
&lt;p&gt;January 31, 2014 and runs until 5:00 pm on January 31, 2014.&lt;/p&gt;&lt;br&gt;
&lt;h4&gt;Location:&lt;/h4&gt;&lt;br&gt;
&lt;p&gt;Bullring&lt;br&gt;Bullring&lt;br&gt;Birmingham&lt;br&gt;B5 4BU&lt;br&gt;United Kingdom&lt;/p&gt;&lt;br&gt;
&lt;p&gt;Phone: &lt;/p&gt;&lt;br&gt;
&lt;p&gt;Google Map: &lt;a target=&quot;_blank&quot; href=&quot;http://maps.google.com/maps?q=Bullring%2cBirmingham%2cB5+4BU%2cUnited+Kingdom&quot; class=&quot;button ecxradius small&quot;&gt;Directions&lt;/a&gt;&lt;/p&gt;&lt;br&gt;
&lt;p&gt;We hope that you will find this event both informative and enjoyable. Should you have any questions, please contact info@imageframe.co.uk. &lt;strong&gt;If you have not done so already, please submit your payment for the following amount:&lt;/strong&gt;&lt;/p&gt;&lt;br&gt;
&lt;p&gt;---------&lt;/p&gt;&lt;br&gt;
&lt;p&gt;£0.01&lt;/p&gt;&lt;br&gt;
&lt;p&gt;---------&lt;/p&gt;&lt;br&gt;
&lt;p&gt;Click here to review your payment information:&lt;/p&gt;&lt;br&gt;
&lt;p&gt;&lt;a target=&quot;_blank&quot; href=&quot;http://5.44.238.20/~imagefra/thank-you/?r_id=600-52b2febe2c0f1&quot;&gt;View Your Payment Details&lt;/a&gt;.&lt;/p&gt;&lt;br&gt;
&lt;p&gt;Click here to edit your payment information:&lt;/p&gt;&lt;br&gt;
&lt;p&gt;&lt;a title=&quot;Edit Attendee Details&quot; class=&quot;ecxespresso_edit_attendee&quot; id=&quot;ecxespresso_edit_attendee_79&quot; target=&quot;_blank&quot; href=&quot;http://5.44.238.20/~imagefra/event-registration/?r_id=600-52b2febe2c0f1&amp;id=79&amp;event_id=600&amp;edit_attendee=true&amp;single=true&quot;&gt;Edit Registration Details&lt;/a&gt;&lt;/p&gt;&lt;br&gt;
&lt;p&gt;Thank You.&lt;/p&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;br&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td valign=&quot;top&quot; align=&quot;center&quot;&gt;&lt;br&gt;
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;table width=&quot;100%&quot; cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; border=&quot;0&quot; style=&quot;background-color:#707070;color:#fff;&quot;&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td valign=&quot;top&quot; align=&quot;center&quot; style=&quot;padding-top:20px;&quot; class=&quot;ecxtemplateColumnContainer&quot;&gt;&lt;br&gt;
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;table width=&quot;100%&quot; cellspacing=&quot;0&quot; cellpadding=&quot;30&quot; border=&quot;0&quot;&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td valign=&quot;top&quot; class=&quot;ecxleftColumnContent&quot;&gt;&lt;span style=&quot;color:#fff;&quot;&gt;Telephone:&lt;br&gt;&lt;br&gt;
&lt;/span&gt;&lt;span style=&quot;font-size:22px;&quot;&gt;0118 909 4731&lt;/span&gt;&lt;p&gt;&lt;/p&gt;&lt;br&gt;
&lt;p&gt;&lt;span style=&quot;color:#fff;&quot;&gt;Email: &lt;/span&gt;&lt;span style=&quot;color:#fff;&quot;&gt;info@imageframe.co.uk&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;br&gt;
&lt;/td&gt;
&lt;td valign=&quot;top&quot; align=&quot;center&quot; style=&quot;padding-top:20px;color:#fff;&quot; class=&quot;ecxtemplateColumnContainer&quot;&gt;&lt;br&gt;
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;table width=&quot;100%&quot; cellspacing=&quot;0&quot; cellpadding=&quot;30&quot; border=&quot;0&quot;&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td valign=&quot;top&quot; style=&quot;text-align:right;color:#fff;font-size:12px;&quot; class=&quot;ecxrightColumnContent&quot;&gt;&lt;strong&gt;Imageframe Ltd&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
Soane Point&lt;br&gt;&lt;br&gt;
6-8 Market Place&lt;br&gt;&lt;br&gt;
Reading&lt;br&gt;&lt;br&gt;
Berkshire&lt;br&gt;&lt;br&gt;
RG1 2EG&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;br&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;br&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;br&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;</code>

Why might it be adding extra tags?

Thanks
Geoff


David

December 19, 2013 at 7:22 am

Sorry re-posted the code

I’ve created custom html templates to use in the Payment Confirmation Email and Default Registration Confirmation Email.

When these are sent out extra <br/> tags are added to the code.

This is my html code i insert into the editor.

<pre class=”brush: html; gutter: true; first-line: 1; highlight: []; html-script: false”><table style="font-family: Arial, sans-serif; font-weight: normal; font-size: 14px;" width="600" border="0" cellspacing="0" cellpadding="0" align="center">
<tbody>
<tr>
<td align="center" valign="top">***This is an automated response – Do Not Reply***</td>
</tr>
</tbody>
</table>
<table id="bodyTable" style="font-family: Arial, sans-serif; border: 1px solid #dddddd; color: #252525; font-size: 14px;" width="600" border="0" cellspacing="0" cellpadding="0" align="center">
<tbody>
<tr>
<td id="bodyCell" align="center" valign="top">
<table border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td align="center" valign="top">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td class="headerContent" valign="top"></td>
</tr>
</tbody>
</table>
<table style="background-color: #daebc1;" width="100%" border="0" cellspacing="0" cellpadding="30">
<tbody>
<tr>
<td class="headerContent" valign="top">
<h1 style="font-weight: normal;">Booking Confirmation</h1>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td align="center" valign="top">
<table width="100%" border="0" cellspacing="0" cellpadding="30">
<tbody>
<tr>
<td class="bodyContent" valign="top">Thank you [fname] [lname] for registering for
<h3 style="color: #8c4398; font-weight: normal;">[event].</h3>
This event starts at:

[start_time] on

[start_date] and runs until [end_time] on [end_date].
<h4>Location:</h4>
[location]

Phone: [location_phone]

Google Map: [google_map_link]

We hope that you will find this event both informative and enjoyable. Should you have any questions, please contact [contact]. If you have not done so already, please submit your payment for the following amount:

———

[cost]

———

Click here to review your payment information:

[payment_url].

Click here to edit your payment information:

[edit_attendee_link]

Thank You.</td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td align="center" valign="top">
<table style="background-color: #707070; color: #fff;" width="100%" border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td class="templateColumnContainer" style="padding-top: 20px;" align="center" valign="top">
<table width="100%" border="0" cellspacing="0" cellpadding="30">
<tbody>
<tr>
<td class="leftColumnContent" valign="top"><span style="color: #fff;">Telephone:

</span><span style="font-size: 22px;">0118 909 4731</span><span style="color: #fff;">Email: </span><span style="color: #fff;">info@imageframe.co.uk</span></td>
</tr>
</tbody>
</table>
</td>
<td class="templateColumnContainer" style="padding-top: 20px; color: #fff;" align="center" valign="top">
<table width="100%" border="0" cellspacing="0" cellpadding="30">
<tbody>
<tr>
<td class="rightColumnContent" style="text-align: right; color: #fff; font-size: 12px;" valign="top">Imageframe Ltd

Soane Point

6-8 Market Place

Reading

Berkshire

RG1 2EG</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>

This is the code from the sent email.

<pre class=”brush: html; gutter: true; first-line: 1; highlight: []; html-script: false”><table width="600" cellspacing="0" cellpadding="0" border="0" align="center" style="font-family:Arial, sans-serif;font-weight:normal;font-size:14px;">
<tbody>
<tr>
<td valign="top" align="center">***This is an automated response – Do Not Reply***</td>
</tr>
</tbody>
</table><br>
<br><br><br><br><br><br><table width="600" cellspacing="0" cellpadding="0" border="0" align="center" style="font-family:Arial, sans-serif;border:1px solid #dddddd;color:#252525;font-size:14px;" id="ecxbodyTable">
<tbody>
<tr>
<td valign="top" align="center" id="ecxbodyCell"><br>
<br><br><br><br><br><br><br><br><br><br><br><br><table cellspacing="0" cellpadding="0" border="0">
<tbody>
<tr>
<td valign="top" align="center"><br>
<br><br><br><br><br><br><table width="100%" cellspacing="0" cellpadding="0" border="0">
<tbody>
<tr>
<td valign="top" class="ecxheaderContent"></td>
</tr>
</tbody>
</table><br>
<br><br><br><br><br><br><table width="100%" cellspacing="0" cellpadding="30" border="0" style="background-color:#daebc1;">
<tbody>
<tr>
<td valign="top" class="ecxheaderContent"><br>
<h1 style="font-weight:normal;">Booking Confirmation</h1><br>
</td>
</tr>
</tbody>
</table><br>
</td>
</tr>
<tr>
<td valign="top" align="center"><br>
<br><br><br><br><br><br><table width="100%" cellspacing="0" cellpadding="30" border="0">
<tbody>
<tr>
<td valign="top" class="ecxbodyContent">Thank you geoff lewin for registering for <p></p><br>
<h3 style="color:#8c4398;font-weight:normal;">Powerpoint intermediate.</h3><br>
<p>This event starts at:</p><br>
<p>3:00 pm on</p><br>
<p>January 31, 2014 and runs until 5:00 pm on January 31, 2014.</p><br>
<h4>Location:</h4><br>
<p>Bullring<br>Bullring<br>Birmingham<br>B5 4BU<br>United Kingdom</p><br>
<p>Phone: </p><br>
<p>Google Map: Directions</p><br>
<p>We hope that you will find this event both informative and enjoyable. Should you have any questions, please contact info@imageframe.co.uk. If you have not done so already, please submit your payment for the following amount:</p><br>
<p>———</p><br>
<p>£0.01</p><br>
<p>———</p><br>
<p>Click here to review your payment information:</p><br>
<p>View Your Payment Details.</p><br>
<p>Click here to edit your payment information:</p><br>
<p>Edit Registration Details</p><br>
<p>Thank You.</p></td>
</tr>
</tbody>
</table><br>
</td>
</tr>
<tr>
<td valign="top" align="center"><br>
<br><br><br><br><br><br><br><table width="100%" cellspacing="0" cellpadding="0" border="0" style="background-color:#707070;color:#fff;">
<tbody>
<tr>
<td valign="top" align="center" style="padding-top:20px;" class="ecxtemplateColumnContainer"><br>
<br><br><br><br><br><br><table width="100%" cellspacing="0" cellpadding="30" border="0">
<tbody>
<tr>
<td valign="top" class="ecxleftColumnContent"><span style="color:#fff;">Telephone:<br><br>
</span><span style="font-size:22px;">0118 909 4731</span><p></p><br>
<p><span style="color:#fff;">Email: </span><span style="color:#fff;">info@imageframe.co.uk</span></p></td>
</tr>
</tbody>
</table><br>
</td>
<td valign="top" align="center" style="padding-top:20px;color:#fff;" class="ecxtemplateColumnContainer"><br>
<br><br><br><br><br><br><table width="100%" cellspacing="0" cellpadding="30" border="0">
<tbody>
<tr>
<td valign="top" style="text-align:right;color:#fff;font-size:12px;" class="ecxrightColumnContent">Imageframe Ltd<br><br>
Soane Point<br><br>
6-8 Market Place<br><br>
Reading<br><br>
Berkshire<br><br>
RG1 2EG</td>
</tr>
</tbody>
</table><br>
</td>
</tr>
</tbody>
</table><br>
</td>
</tr>
</tbody>
</table><br>
</td>
</tr>
</tbody>
</table>


Josh

  • Support Staff

December 19, 2013 at 1:59 pm

Hi there,

I’ve seen this happen before where the theme or another WordPress plugin adds a filter to the wpautop function (usually to make column shortcodes work). The unintended consequence is it changes a normal line break into a break tag.

You can rule these out one by one:
1) A theme conflict. You can rule this out by temporarily switching to the default WordPress theme.
2) A plugin conflict. You can rule this out by temporarily deactivating any other installed WordPress plugins.


David

December 20, 2013 at 1:56 am

Thanks for the advise. I tried the emails while I disabled all plugins and changed the theme back to twenty12 but the extra tags were still added.
The odd thing is the email I’ve created in the ‘Manage Event Emails’ outputs correctly.


David

December 20, 2013 at 5:03 am

Sorry I should explain more clearly. Rows of <br> tags are being added to the sent email, also new classes are being added to the table elements. e.g ‘ecxbodyCell’.

The emails created in the ‘Manage Event Emails’ are unaffected.

Example code.

<pre class=”brush: html; gutter: true; first-line: 1; highlight: []; html-script: false”><td valign="top" align="center" id="ecxbodyCell"><br>
<br><br><br><br><br><br><br><br><br><br><br><br><table cellspacing="0" cellpadding="0" border="0">
<tbody>
<tr>


Josh

  • Support Staff

December 20, 2013 at 8:06 am

Hi Geoff,

Can you let us know what plugins are installed on this site?

The other idea I have is these may be added by the mailserver. In which case you could try routing the email through a gmail account with the WP Mail SMTP plugin.


David

January 2, 2014 at 7:39 am

Hi Josh

These are the plugins I have installed.

Advanced Custom Fields
Contact Form 7
Event Espresso
Event Espresso – Calendar
Event Espresso – Members Addon
Event Espresso – Multi Event Registration
Event Espresso – Recurring Events
Event Espresso – Social Media
Login Logo
mobble
WordPress SEO
WP Sitemap Page

I don’t believe these tags are added by the mailserver as the HTML email I’ve created in the ‘Email Manager’ is output correctly.

Kind regards
Geoff


Josh

  • Support Staff

January 2, 2014 at 8:17 am

Hi Geoff,

If you go in to edit the custom confirmation emails and view the email in Text edit mode (not visual) do the line breaks appear there?


David

January 2, 2014 at 9:08 am

No the line breaks don’t appear.


Josh

  • Support Staff

January 2, 2014 at 10:15 am

In that case, it may help to send a copy of your wp_options table if that’s possible so we can investigate further. If we can find out whether these are in the email options that get saved to the database it will help narrow down what’s causing the issue.

Can you send an export of the wp_options table to our support email address? It’s support@eventespresso.com


Josh

  • Support Staff

January 3, 2014 at 9:59 am

Hi Geoff,

I looked in the database export you sent and I can confirm that the extra break tags and id names like ecxbodyCell are not in the database. There are two instances of “bodyCell”, so I’m not sure what is adding the ecx part or the extra line breaks.

I copy the email content into a test site that’s using WP SMTP and a gmail account to send emails and the extra line breaks are not being added there either.

I can advise trying out sending the email via another means than the server’s mailserver to narrow down the other issue. The only other place I can think of where this might be affected is when the email gets processed through the wpmail() function, but I think you’ve ruled that out by testing this with the default theme active and the other plugins deactivated.

Viewing 10 reply threads

The support post ‘Custom Confirmation Emails adding extra line breaks’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso