Contact form Problems on new site

jdpeace
15 Posts
jdpeace posted this 12 January 2022
Ask a Question

Hi I Have just created a new site (www.shereepeace.com) and the contact form is working but is sending the form result through as HTML see below:

<meta http-equiv content>New Form From Contact
Page

th, td, caption {
    font-weight:

400;

    vertical-align: top;
    text-align: left;

}
Enquiry From Contact
PageName:Mike
WrightEmail:mike@woodstock.me.ukMessage:Orkney has
recorded 15 new cases of COVID-19 over the past 24 hours, according to
data published by the Scottish Government. This brings the total
number of cases in the county since the pandemic began to 1,682.
Following the change to COVID-19 guidance, PCR tests are now required
if you develop symptomsForm submitted
from website: www.shereepeace.comVisitor IP address:
83.146.63.196

any help with this would be great

Mike

Hi I Have just created a new site (www.shereepeace.com) and the contact form is working but is sending the form result through as HTML see below: &lt;meta http-equiv content&gt;New Form From Contact Page th, td, caption { font-weight: 400; vertical-align: top; text-align: left; } Enquiry From Contact PageName:Mike WrightEmail:mike@woodstock.me.ukMessage:Orkney has recorded 15 new cases of COVID-19 over the past 24 hours, according to data published by the Scottish Government. This brings the total number of cases in the county since the pandemic began to 1,682. Following the change to COVID-19 guidance, PCR tests are now required if you develop symptomsForm submitted from website: www.shereepeace.comVisitor IP address: 83.146.63.196 any help with this would be great Mike
Vote to pay developers attention to this features or issue.
13 Replies
Order By: Standard | Newest
jdpeace
15 Posts
jdpeace posted this 12 January 2022

Please see pic to see issue

Mike

Please see pic to see issue Mike
jdpeace
15 Posts
jdpeace posted this 13 January 2022

Anyone else have this problem or know a work around, everything else in the site works great apart from the contact form result.

Anyone else have this problem or know a work around, everything else in the site works great apart from the contact form result.
jdpeace
15 Posts
jdpeace posted this 13 January 2022

This is how the contact form results should look, this is from one of our other webpages also created using Nice page

This is how the contact form results should look, this is from one of our other webpages also created using Nice page
Support Team
Support Team posted this 13 January 2022

Hi Mike,

Please try the following solution:

  1. open scripts/FormProcessor.php file

  2. find the line:
    $headers .= 'Content-type: text/html; charset=utf-8'
    and change it to
    $headers .= 'Content-Type: text/html; charset=utf-8'

Does the issue continue?

This is how the contact form results should look, this is from one of our other webpages also created using Nice page

Do you use the same mail client to view emails from both websites?

...................................................
Sincerely,
Olivia
Nicepage Support Team

Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1
Follow us on Facebook: http://facebook.com/nicepageapp

Hi Mike, Please try the following solution: 1. open scripts/FormProcessor.php file 2. find the line: $headers .= 'Content-type: text/html; charset=utf-8' and change it to $headers .= 'Content-Type: text/html; charset=utf-8' Does the issue continue? > This is how the contact form results should look, this is from one of our other webpages also created using Nice page Do you use the same mail client to view emails from both websites? ................................................... Sincerely, Olivia Nicepage Support Team Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1 Follow us on Facebook: http://facebook.com/nicepageapp
jdpeace
15 Posts
jdpeace posted this 13 January 2022

Hi Olivia,

Thanks for your message, did what you said and still getting the same result.

At the moment I am using the mail client that is built into the server but have tried a couple of different ones with the same results.

if you look at the pics you will see the forms from different sites viewed on the same mail client with different results.

Regards

Mike

Hi Olivia, Thanks for your message, did what you said and still getting the same result. At the moment I am using the mail client that is built into the server but have tried a couple of different ones with the same results. if you look at the pics you will see the forms from different sites viewed on the same mail client with different results. Regards Mike
jdpeace
15 Posts
jdpeace posted this 13 January 2022

Hi Olivia,

Just tried FormProcessor.php from another of our sites and the contact form still works but the results are still the same so it looks like its probably not the FormProcessor.php

Regards

Mike

Hi Olivia, Just tried FormProcessor.php from another of our sites and the contact form still works but the results are still the same so it looks like its probably not the FormProcessor.php Regards Mike
jdpeace
15 Posts
jdpeace posted this 14 January 2022

Hi Anybody with any different ideas on how to fix this problem with the formatting of the contact form results?

Desperate to get this sorted so I can hand over the site

Hi Anybody with any different ideas on how to fix this problem with the formatting of the contact form results? Desperate to get this sorted so I can hand over the site
jdpeace
15 Posts
jdpeace posted this 17 January 2022

Is there anyone in support available to help me on this issue??

Is there anyone in support available to help me on this issue??
jdpeace
15 Posts
jdpeace posted this 19 January 2022

Hi Support,

Now that you are up and running again perhaps one of the support crew could take a look at an issue I am have with a contact form.
This issue has been going on without resolve for a week now so it would be nice to get some assistance.

Regards

Mike

Hi Support, Now that you are up and running again perhaps one of the support crew could take a look at an issue I am have with a contact form. This issue has been going on without resolve for a week now so it would be nice to get some assistance. Regards Mike
Support Team
Support Team posted this 19 January 2022

Hi Mike,

The FormProcessor.php file contains all required headers and content type attributes. Email clients should detect them and process HTML code as usual. The only assumption we have is the email client you're using is case-sensitive. But it is not the case as we understand. You also tried a different file. Is this file copied from the server where the issue is not reproducible? If so, then this issue is probably somehow related to the server that sends the email.

...................................................
Sincerely,
Olivia
Nicepage Support Team

Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1
Follow us on Facebook: http://facebook.com/nicepageapp

Hi Mike, The FormProcessor.php file contains all required headers and content type attributes. Email clients should detect them and process HTML code as usual. The only assumption we have is the email client you're using is case-sensitive. But it is not the case as we understand. You also tried a different file. Is this file copied from the server where the issue is not reproducible? If so, then this issue is probably somehow related to the server that sends the email. ................................................... Sincerely, Olivia Nicepage Support Team Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1 Follow us on Facebook: http://facebook.com/nicepageapp
jdpeace
15 Posts
jdpeace posted this 20 January 2022

Hi Olivia,

Just to let you and others know I ran what you you said regarding that you thought that the issue was somehow related to the server that sends the mail past our server administrator and they found that:

"Was to do with the email headers being sent, or more so to do with how they were built. It was using "PHP_EOL" to output the appropriate "End of Line". Once I changed it to just be "\r\n" it seem to be fine"

Hope this helps anybody who may have a similar problem also might help if the coders adjusted the FormProcessor.php to accomodate this issue too.

What would also help is if there was read me files or instructions regarding the version of php that Nicepage Builder supports

Regards

Mike

Hi Olivia, Just to let you and others know I ran what you you said regarding that you thought that the issue was somehow related to the server that sends the mail past our server administrator and they found that: "Was to do with the email headers being sent, or more so to do with how they were built. It was using "PHP_EOL" to output the appropriate "End of Line". Once I changed it to just be "\r\n" it seem to be fine" Hope this helps anybody who may have a similar problem also might help if the coders adjusted the FormProcessor.php to accomodate this issue too. What would also help is if there was read me files or instructions regarding the version of php that Nicepage Builder supports Regards Mike
rolf.rüegg
3 Posts
rolf.rüegg posted this 20 January 2022

Thank you very much, this helps for me as well - changed FormProcessor.php

Thank you very much, this helps for me as well - changed FormProcessor.php
jdpeace
15 Posts
jdpeace posted this 21 January 2022

Thank you very much, this helps for me as well - changed FormProcessor.php

Glad to hear this helps you too Rolf.

Mike

> Thank you very much, this helps for me as well - changed FormProcessor.php Glad to hear this helps you too Rolf. Mike
You must log in or register to leave comments