Page 1 of 1

Contact form line breaks

Posted: Mon Apr 04, 2011 3:43 am
by Don Chambers
I don't get much traffic from the contact form, but I just noticed that when the form is submitted, there are not line breaks between each field. IE, it used to be this:

Code: Select all

Field 1:  Field 1 value.
Field 2:  Field 2 value.
Field 3:  Field 3 value.
Now the submitted emails look like this:

Code: Select all

Field 1:  Field 1 value. Field 2:  Field 2 value. Field 3:  Field 3 value.
Can we restore the original behavior?

Re: Contact form line breaks

Posted: Mon Apr 04, 2011 4:22 pm
by Timbalu
Might this be a problem using nl2p instead of nl2br, Don?

Re: Contact form line breaks

Posted: Mon Apr 04, 2011 4:26 pm
by Don Chambers
Timbalu wrote:Might this be a problem using nl2p instead of nl2br, Don?
nl2br option "Use P-Tags" is set to "no". All other options set to "yes".

Re: Contact form line breaks

Posted: Mon Apr 04, 2011 4:39 pm
by Timbalu
Just tested mine with newest contactform plugin and everything is working smooth.
In your case it must be some sort of denied newline text parsing between POST and S9y email function or your email reader. But I really can't say where..., sorry

Re: Contact form line breaks

Posted: Mon Apr 04, 2011 5:47 pm
by yellowled
Which email client are you using? Did you use a different one, a different version before? What do the headers of the email look like, especially Mime-Type, Content-Type and Content-Transfer-Encoding? If you have no idea what I am talking about or don't know how to find that out, feel free to forward me a copy of the email.

YL

Re: Contact form line breaks

Posted: Tue Apr 05, 2011 9:42 am
by garvinhicking
Hi!

It could also be a change in your MTA (mail transfer agent,on the server). Some of them interpret windows-style linebreaks as no linebreaks, some of them require unix-linebreaks - it's a mess sometimes. :(

Regards,
Garvin