This php script for email is not working on the html site!

confizzi
4 Posts
confizzi posted this 13 January 2023
Ask a Question

https://nicepage.com/doc/25066/sample-scripts-to-send-emails
Simple 1

This php script for email is not working on the html site. I checked with hosting and everything is fine on the server side.
message:
It was not possible to send your message. Fix the errors and try again.
Please help me.
Thanks

https://nicepage.com/doc/25066/sample-scripts-to-send-emails Simple 1 This php script for email is not working on the html site. I checked with hosting and everything is fine on the server side. message: It was not possible to send your message. Fix the errors and try again. Please help me. Thanks
Vote to pay developers attention to this features or issue.
5 Replies
Order By: Standard | Newest
Support Team
Support Team posted this 16 January 2023

Hello,

We tested it on our side and it works ok. The server should be configured to send emails with a standard PHP mail function. But you're free to use any other custom script. But please note that to make it work with the Nicepage form this script should use the same field classes/names as the Nicpage Form.

...................................................
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

Hello, We tested it on our side and it works ok. The server should be configured to send emails with a standard PHP mail function. But you're free to use any other custom script. But please note that to make it work with the Nicepage form this script should use the same field classes/names as the Nicpage Form. ................................................... 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
confizzi
4 Posts
confizzi posted this 16 January 2023

Hi
Am I doing it right , leaving the URL marked ?

Error

Hi Am I doing it right , leaving the URL marked ? Error

Last edited 16 January 2023 by confizzi

Support Team
Support Team posted this 19 January 2023

Hello Irael,

The path to the PHP script can be absolute or relative. The script URL usually contains the Path and File Name. The example, contact.php, is already located in the website's root folder.
We can see the form is working ok on your site, have you changed the URL already, isn't it?

Please let us know.

Thank you.
...................................................
Sincerely,
Anna T
Nicepage Support Team

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

Hello Irael, The path to the PHP script can be absolute or relative. The script URL usually contains the Path and File Name. The example, *contact.php*, is already located in the website's root folder. We can see the form is working ok on your site, have you changed the URL already, isn't it? Please let us know. Thank you. ................................................... Sincerely, Anna T Nicepage Support Team Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1 Follow us on Facebook: http://facebook.com/nicepageapp
confizzi
4 Posts
confizzi posted this 24 February 2023

finally everything working normally.
Thanks

finally everything working normally. Thanks
Support Team
Support Team posted this 27 February 2023

Hi Irael,

Thank you for your reply.
Let us know in case you require any additional assistance.

...................................................
Sincerely,
Anna.
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 Irael, Thank you for your reply. Let us know in case you require any additional assistance. ................................................... Sincerely, Anna. Nicepage Support Team Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1 Follow us on Facebook: http://facebook.com/nicepageapp
You must log in or register to leave comments