Return carriages not being rendered in emails.xml

rated by 0 users
Not Answered This post has 0 verified answers | 7 Replies | 3 Followers

NHinman
Not Ranked
7 Posts
Points 155
By: NHinman
Posted: Thu, Jul 3 2008 3:14 PM

Hi,

 

When editting the emails.xml file, the line breaks are not rendered and the entire email gets sent out as a blob.

 

Some of the emails are wrapped in tags like <htmlbody> and <textbody>, but applying these tags does nothing to make the whitespace render.

Can someone tell me what needs to be done to format the emails properly?

 

Thanks

 
  • Post Points: 20 |

All Replies

afscrome
Top 10 Contributor
2,727 Posts
Points 40,175
TelligentSupportTeam
By: afscrome
Posted: Thu, Jul 3 2008 3:17 PM In reply to

Are these HTML emails that do not render carriage returns, or Text emails.

HTML does by ignore carriage returns, and instead to signify a carriage return, you'll need to use <br />, or wrap each paragraph in <p></p> tags.  Text emails should however render the cariage returns.

 
  • Post Points: 20 |
NHinman
Not Ranked
7 Posts
Points 155
By: NHinman
Posted: Thu, Jul 3 2008 3:27 PM In reply to

This is what is confusing me.

First I added the <p> and </br> tags to see if they would work and they didnt. The output would look like this:

[Name],</br><p>Thank you for contacting us blah blah blah.</p></br></br><p>The information you need is blah blah blah.</p></br>.....

 

...which led me to believe that it was text based, but when you remove the tags and just use carriage returns the output looks like this:

[Name],Thank you for contacting us blah blah blah.The information you need is blah blah blah.....

 

The space character whitespace renders correctly, but the line breaks do not.

 
  • Post Points: 20 |
afscrome
Top 10 Contributor
2,727 Posts
Points 40,175
TelligentSupportTeam
By: afscrome
Posted: Thu, Jul 3 2008 3:35 PM In reply to

Can you tell me what version of CS you're running? - right click on a page from your site > view source, and have a look at the version number in the Generator meta tag - for example

<meta name="GENERATOR" content="CommunityServer 2008 SP1 (Build: 30610.56)" />

 
  • Post Points: 20 |
NHinman
Not Ranked
7 Posts
Points 155
By: NHinman
Posted: Thu, Jul 3 2008 3:43 PM In reply to
<meta name="GENERATOR" content="CommunityServer 2007.1 (Build: 20917.1142)" />

thanks for your help.
 
  • Post Points: 20 |
afscrome
Top 10 Contributor
2,727 Posts
Points 40,175
TelligentSupportTeam
By: afscrome
Posted: Thu, Jul 3 2008 3:49 PM In reply to

Can you try upgrading your website to CS2007.1 SP1.  You can download the service pack from http://get.communityserver.com/download/cs20071sp1up/ once you've filled in the download survey.

 
  • Post Points: 20 |
NHinman
Not Ranked
7 Posts
Points 155
By: NHinman
Posted: Thu, Jul 3 2008 4:19 PM In reply to

I will do that first thing on Monday morning and let you know if it worked.  I would do it tomorrow but that is the day us Americans celebrate freeing ourselves from your tyranny.  hehe just kidding around...I really do appreciate your help.  Have a good weekend!

 
  • Post Points: 20 |
CRS Marketing
Not Ranked
1 Posts
Points 5
By: CRS Marketing
Posted: Thu, Jul 3 2008 4:39 PM In reply to

We appreciate any help...I work with NHinman; we are ready to pull our hair out! :)

Happy 4th even though you are in the UK!

 
  • Post Points: 5 |
Page 1 of 1 (8 items) | RSS
Powered by Community Server (Commercial Edition), by Telligent Systems

Copyright© 2008 Telligent Systems Inc. All rights reserved
CommunityServer.com  •  Telligent.com